[PATCH 4/9] ARM: fix missing <asm/vga.h> in arch/arm/mm/iomap.c

Ben Dooks ben.dooks at codethink.co.uk
Fri Jun 17 08:05:08 PDT 2016


The vga_base is exported but has no declaration, so fix the
warning by including the declaration in <asm/vga.h>.

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

Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>
---
Cc: Russell King <linux at armlinux.org.uk>
Cc: linux-arm-kernel at lists.infradead.org
---
 arch/arm/mm/iomap.c | 2 ++
 1 file changed, 2 insertions(+)

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);
 
-- 
2.8.1




More information about the linux-arm-kernel mailing list