Skip to contentSkip to conversation

arm: iomap.c: include asm/vga.h to pickup declaration of exported symbol

PATCH New H Hartley Sweeten 1 participant 1 message Apr 12, 2012 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: iomap.c: include asm/vga.h to pickup declaration of exported symbol

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?

---

arch/arm/mm/iomap.c +2 -0
index 4614208..af177d6 100644
@@ -9,6 +9,8 @@
 #include <linux/ioport.h>
 #include <linux/io.h>
 
+#include <asm/vga.h>
+
 unsigned long vga_base;
 EXPORT_SYMBOL(vga_base);