diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2014-12-30 14:53:19 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-13 01:03:41 (GMT) |
commit | 4722c035cf0f7f82633af9d5fe19d4336805e800 (patch) | |
tree | 8d4f2a4a8626c3dc787cfa2090d3450ac07dbbaa /arch/x86/cpu/pci.c | |
parent | 120c41695b8b8c7e68ef7cfdaa2bf4f965357b47 (diff) | |
download | u-boot-4722c035cf0f7f82633af9d5fe19d4336805e800.tar.xz |
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 <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/pci.c')
-rw-r--r-- | arch/x86/cpu/pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/cpu/pci.c b/arch/x86/cpu/pci.c index f3492c3..404fbb6 100644 --- a/arch/x86/cpu/pci.c +++ b/arch/x86/cpu/pci.c @@ -15,6 +15,8 @@ #include <pci.h> #include <asm/pci.h> +DECLARE_GLOBAL_DATA_PTR; + static struct pci_controller x86_hose; int pci_early_init_hose(struct pci_controller **hosep) |