diff options
author | Rob Herring <rob.herring@calxeda.com> | 2011-06-29 06:22:40 +0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2011-07-12 20:19:29 +0400 |
commit | cc22b4c18540e5e8bf55c7d124044f9317527d3c (patch) | |
tree | 77b9980c1824fd389105efe7e7f9693c9c258ad9 /arch/arm/mm | |
parent | c9d95fbe59e426eed7f16e7cac812e46ac4772d0 (diff) | |
download | linux-cc22b4c18540e5e8bf55c7d124044f9317527d3c.tar.xz |
ARM: set vga memory base at run-time
Convert the incorrectly named PCIMEM_BASE to a variable called vga_base.
This removes the dependency on mach/hardware.h.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mm')
-rw-r--r-- | arch/arm/mm/iomap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mm/iomap.c b/arch/arm/mm/iomap.c index 3d46cf466c4c..430df1a5978d 100644 --- a/arch/arm/mm/iomap.c +++ b/arch/arm/mm/iomap.c @@ -9,6 +9,9 @@ #include <linux/ioport.h> #include <linux/io.h> +unsigned long vga_base; +EXPORT_SYMBOL(vga_base); + #ifdef __io void __iomem *ioport_map(unsigned long port, unsigned int nr) { |