From: Bin Meng Date: Tue, 30 Dec 2014 14:53:19 +0000 (+0800) Subject: x86: Add missing DECLARE_GLOBAL_DATA_PTR for pci.c X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=4722c035cf0f7f82633af9d5fe19d4336805e800;p=u-boot.git 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 --- 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)