From 4722c035cf0f7f82633af9d5fe19d4336805e800 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Tue, 30 Dec 2014 22:53:19 +0800 Subject: x86: Add missing DECLARE_GLOBAL_DATA_PTR for pci.c arch/x86/cpu/pci.c has access to the U-Boot global data thus DECLARE_GLOBAL_DATA_PTR is needed. Signed-off-by: Bin Meng Acked-by: Simon Glass --- arch/x86/cpu/pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/cpu/pci.c b/arch/x86/cpu/pci.c index f3492c3851..404fbb6860 100644 --- a/arch/x86/cpu/pci.c +++ b/arch/x86/cpu/pci.c @@ -15,6 +15,8 @@ #include #include +DECLARE_GLOBAL_DATA_PTR; + static struct pci_controller x86_hose; int pci_early_init_hose(struct pci_controller **hosep) -- cgit v1.2.1