MPC832XEMDS: fix pci.c build warning
authorWolfgang Denk <wd@denx.de>
Sat, 16 Oct 2010 16:07:07 +0000 (18:07 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 18 Oct 2010 19:50:24 +0000 (21:50 +0200)
Doubled use of DECLARE_GLOBAL_DATA_PTR caused compile warning:

pci.c:71: warning: register used for two global register variables

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Kim Phillips <kim.phillips@freescale.com>
board/freescale/mpc832xemds/pci.c

index 5c7901d..b58f734 100644 (file)
@@ -68,9 +68,6 @@ static struct pci_region pci2_regions[] = {
 };
 #endif
 
-DECLARE_GLOBAL_DATA_PTR;
-
-
 void pci_init_board(void)
 #ifdef CONFIG_PCISLAVE
 {