diff options
| author | Bin Meng <[email protected]> | 2014-12-30 22:53:19 +0800 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2015-01-12 17:03:41 -0800 |
| commit | 4722c035cf0f7f82633af9d5fe19d4336805e800 (patch) | |
| tree | 8d4f2a4a8626c3dc787cfa2090d3450ac07dbbaa | |
| parent | 120c41695b8b8c7e68ef7cfdaa2bf4f965357b47 (diff) | |
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 <[email protected]>
Acked-by: Simon Glass <[email protected]>
| -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 f3492c3851f..404fbb68609 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) |
