From: Wolfgang Denk Date: Sat, 16 Oct 2010 16:07:07 +0000 (+0200) Subject: MPC832XEMDS: fix pci.c build warning X-Git-Tag: v2010.12-rc1~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae188d48ec80d0aa5cacb2b1f3b0137a388bc776;p=pandora-u-boot.git MPC832XEMDS: fix pci.c build warning 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 Cc: Kim Phillips --- diff --git a/board/freescale/mpc832xemds/pci.c b/board/freescale/mpc832xemds/pci.c index 5c7901d39b5..b58f734b2fd 100644 --- a/board/freescale/mpc832xemds/pci.c +++ b/board/freescale/mpc832xemds/pci.c @@ -68,9 +68,6 @@ static struct pci_region pci2_regions[] = { }; #endif -DECLARE_GLOBAL_DATA_PTR; - - void pci_init_board(void) #ifdef CONFIG_PCISLAVE {