ARM: 8923/1: mm: include <asm/vga.h> for vga_base
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Fri, 11 Oct 2019 13:18:43 +0000 (14:18 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 31 Oct 2019 16:58:54 +0000 (16:58 +0000)
iomap.c needs <asm/vga.h> for the definition vga_base
to avoid the following warning:

arch/arm/mm/iomap.c:13:15: warning: symbol 'vga_base' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mm/iomap.c

index 091ddc5..415d0a4 100644 (file)
@@ -10,6 +10,8 @@
 #include <linux/ioport.h>
 #include <linux/io.h>
 
+#include <asm/vga.h>
+
 unsigned long vga_base;
 EXPORT_SYMBOL(vga_base);