All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: iomap.c: include asm/vga.h to pickup declaration of exported symbol
@ 2012-04-12 18:04 H Hartley Sweeten
  0 siblings, 0 replies; only message in thread
From: H Hartley Sweeten @ 2012-04-12 18:04 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-12 18:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-12 18:04 [PATCH] arm: iomap.c: include asm/vga.h to pickup declaration of exported symbol H Hartley Sweeten

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.