diff options
author | Wolfgang Denk <wd@denx.de> | 2007-09-15 20:48:41 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-09-15 20:48:41 +0200 |
commit | 1218abf1b5817a39a82399b4b928b00750575bda (patch) | |
tree | eea14f9a563edd02bbc62b8aa493efd270044485 /board/amcc/taishan | |
parent | 66b3f24d665be678a9dbb125b1e84185400f63b5 (diff) | |
download | u-boot-midas-1218abf1b5817a39a82399b4b928b00750575bda.tar.gz u-boot-midas-1218abf1b5817a39a82399b4b928b00750575bda.tar.bz2 u-boot-midas-1218abf1b5817a39a82399b4b928b00750575bda.zip |
Fix cases where DECLARE_GLOBAL_DATA_PTR was not declared as global
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/amcc/taishan')
-rw-r--r-- | board/amcc/taishan/taishan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/amcc/taishan/taishan.c b/board/amcc/taishan/taishan.c index bc976c7526..f00397ed19 100644 --- a/board/amcc/taishan/taishan.c +++ b/board/amcc/taishan/taishan.c @@ -32,6 +32,8 @@ void show_reset_reg(void); #endif +DECLARE_GLOBAL_DATA_PTR; + int lcd_init(void); int board_early_init_f (void) @@ -266,8 +268,6 @@ int pci_pre_init(struct pci_controller * hose ) #if defined(CONFIG_PCI) && defined(CFG_PCI_TARGET_INIT) void pci_target_init(struct pci_controller * hose ) { - DECLARE_GLOBAL_DATA_PTR; - /*--------------------------------------------------------------------------+ * Disable everything *--------------------------------------------------------------------------*/ |