aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm
diff options
context:
space:
mode:
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>2019-10-11 14:18:43 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2019-10-31 16:58:54 +0000
commitc4e8fd03f211b2003fd6a2fafb9fc90d870018d6 (patch)
tree37f82758bd142224bb3a64eaf9035d29b2c0895e /arch/arm/mm
parentARM: 8922/1: parse_dt_topology() rate is pointer to __be32 (diff)
downloadlinux-dev-c4e8fd03f211b2003fd6a2fafb9fc90d870018d6.tar.xz
linux-dev-c4e8fd03f211b2003fd6a2fafb9fc90d870018d6.zip
ARM: 8923/1: mm: include <asm/vga.h> for vga_base
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>
Diffstat (limited to 'arch/arm/mm')
-rw-r--r--arch/arm/mm/iomap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mm/iomap.c b/arch/arm/mm/iomap.c
index 091ddc56827e..415d0a454237 100644
--- a/arch/arm/mm/iomap.c
+++ b/arch/arm/mm/iomap.c
@@ -10,6 +10,8 @@
#include <linux/ioport.h>
#include <linux/io.h>
+#include <asm/vga.h>
+
unsigned long vga_base;
EXPORT_SYMBOL(vga_base);