projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
120c416
)
x86: Add missing DECLARE_GLOBAL_DATA_PTR for pci.c
author
Bin Meng
<bmeng.cn@gmail.com>
Tue, 30 Dec 2014 14:53:19 +0000
(22:53 +0800)
committer
Simon Glass
<sjg@chromium.org>
Tue, 13 Jan 2015 01:03:41 +0000
(17:03 -0800)
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>
arch/x86/cpu/pci.c
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/pci.c
b/arch/x86/cpu/pci.c
index f3492c3851f079703d61dd03594148eca878ff61..404fbb68609d9fc2c55dbffe3de86fcdc1ff52f4 100644
(file)
--- 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)