From: Wolfgang Denk <wd@denx.de>
Date: Sat, 16 Oct 2010 16:07:07 +0000 (+0200)
Subject: MPC832XEMDS: fix pci.c build warning
X-Git-Tag: v2025.01-rc5-pxa1908~20004
X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=ae188d48ec80d0aa5cacb2b1f3b0137a388bc776;p=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 <wd@denx.de>
Cc: Kim Phillips <kim.phillips@freescale.com>
---

diff --git a/board/freescale/mpc832xemds/pci.c b/board/freescale/mpc832xemds/pci.c
index 5c7901d39b..b58f734b2f 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
 {