[PATCH] arm: iomap.c: include asm/vga.h to pickup declaration of exported symbol
H Hartley Sweeten
hartleys at visionengravers.com
Thu Apr 12 14:04:39 EDT 2012
Include <asm/vga.h> to pickup the declaration of the exported symbol
'vga_base'.
This quiets the sparse warning:
warning: symbol 'vga_base' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
---
diff --git a/arch/arm/mm/iomap.c b/arch/arm/mm/iomap.c
index 4614208..af177d6 100644
--- a/arch/arm/mm/iomap.c
+++ b/arch/arm/mm/iomap.c
@@ -9,6 +9,8 @@
#include <linux/ioport.h>
#include <linux/io.h>
+#include <asm/vga.h>
+
unsigned long vga_base;
EXPORT_SYMBOL(vga_base);
More information about the linux-arm-kernel
mailing list