diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2014-12-30 22:53:19 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-12 17:03:41 -0800 |
commit | 4722c035cf0f7f82633af9d5fe19d4336805e800 (patch) | |
tree | 8d4f2a4a8626c3dc787cfa2090d3450ac07dbbaa /arch | |
parent | 120c41695b8b8c7e68ef7cfdaa2bf4f965357b47 (diff) | |
download | u-boot-imx-4722c035cf0f7f82633af9d5fe19d4336805e800.zip u-boot-imx-4722c035cf0f7f82633af9d5fe19d4336805e800.tar.gz u-boot-imx-4722c035cf0f7f82633af9d5fe19d4336805e800.tar.bz2 |
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')
-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) |