diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-31 16:32:53 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-31 16:32:53 (GMT) |
commit | d87080b721e4f8dca977af7571c5338ae7bb8db7 (patch) | |
tree | 514fc21eec39a2dd57f7aea516844a4400f8f140 /board/mpl/common/pci.c | |
parent | f6dbbe986481cff01334c64cacb971a5f237a9a9 (diff) | |
download | u-boot-d87080b721e4f8dca977af7571c5338ae7bb8db7.tar.xz |
GCC-4.x fixes: clean up global data pointer initialization for all boards.
Diffstat (limited to 'board/mpl/common/pci.c')
-rw-r--r-- | board/mpl/common/pci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/board/mpl/common/pci.c b/board/mpl/common/pci.c index 692930b..bde14be 100644 --- a/board/mpl/common/pci.c +++ b/board/mpl/common/pci.c @@ -32,7 +32,7 @@ #ifdef CONFIG_405GP #ifdef CONFIG_PCI -#undef DEBUG +DECLARE_GLOBAL_DATA_PTR; #include "piix4_pci.h" #include "pci_parts.h" @@ -94,7 +94,6 @@ static struct pci_controller hose = { static void reloc_pci_cfg_table(struct pci_config_table *table) { - DECLARE_GLOBAL_DATA_PTR; unsigned long addr; for (; table && table->vendor; table++) { |