diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-03-17 01:03:41 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-06-03 10:04:40 +0400 |
commit | 01ef31053ddda5d5aee86dca61193d1395273d53 (patch) | |
tree | 47a14b66449b85526bb5ac2dd453d7ac69e2e3ff /arch/arm/mach-integrator/pci_v3.c | |
parent | a5ecbab7d9b606bdfbec67ccda0fde0f82e1e70e (diff) | |
download | linux-01ef31053ddda5d5aee86dca61193d1395273d53.tar.xz |
ARM: integrator: move VGA base assignment
The global vga_base is used for things like getting an early
console on a PCI-based VGA adapter. Move this assignment into
the probe function for the PCI bridge.
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-integrator/pci_v3.c')
-rw-r--r-- | arch/arm/mach-integrator/pci_v3.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-integrator/pci_v3.c b/arch/arm/mach-integrator/pci_v3.c index 9dd7125e658f..059ac4e8a67e 100644 --- a/arch/arm/mach-integrator/pci_v3.c +++ b/arch/arm/mach-integrator/pci_v3.c @@ -28,6 +28,7 @@ #include <linux/init.h> #include <linux/io.h> #include <linux/platform_device.h> +#include <video/vga.h> #include <mach/hardware.h> #include <mach/platform.h> @@ -850,6 +851,7 @@ static int __init pci_v3_probe(struct platform_device *pdev) return -ENODEV; } + vga_base = (unsigned long)PCI_MEMORY_VADDR; pci_common_init(&pci_v3); return 0; |