summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Wu2011-08-17 11:29:38 +0200
committerRob Herring2011-08-25 16:08:18 +0200
commit158c0c623ab57e4e1cf705ce64b8efddc1cf82dd (patch)
tree9d57e4c0859deb1db531bce73ea29914400052d3
parentarm: fix compile failure in orion5x/dns323-setup.c (diff)
downloadkernel-qcow2-linux-158c0c623ab57e4e1cf705ce64b8efddc1cf82dd.tar.gz
kernel-qcow2-linux-158c0c623ab57e4e1cf705ce64b8efddc1cf82dd.tar.xz
kernel-qcow2-linux-158c0c623ab57e4e1cf705ce64b8efddc1cf82dd.zip
ARM: mach-orion5x: add missing header file <linux/vga.h>
This patch fixed following building error: -- arch/arm/mach-orion5x/pci.c: In function 'orion5x_pci_sys_setup': arch/arm/mach-orion5x/pci.c:563:2: error: 'vga_base' undeclared (first use in this function) arch/arm/mach-orion5x/pci.c:563:2: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [arch/arm/mach-orion5x/pci.o] Error 1 make[1]: *** Waiting for unfinished jobs.... -- Signed-off-by: Bryan Wu <bryan.wu@canonical.com> Acked-by: Rob Herring <rob.herring@calxeda.com>
-rw-r--r--arch/arm/mach-orion5x/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-orion5x/pci.c b/arch/arm/mach-orion5x/pci.c
index 28b8760ab9fa..bc4a920e26ee 100644
--- a/arch/arm/mach-orion5x/pci.c
+++ b/arch/arm/mach-orion5x/pci.c
@@ -14,6 +14,7 @@
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/mbus.h>
+#include <video/vga.h>
#include <asm/irq.h>
#include <asm/mach/pci.h>
#include <plat/pcie.h>