[U-Boot] [PATCH] MPC832XEMDS: fix pci.c build warning
Wolfgang Denk
wd at denx.de
Sat Oct 16 18:07:07 CEST 2010
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 at denx.de>
Cc: Kim Phillips <kim.phillips at freescale.com>
---
board/freescale/mpc832xemds/pci.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/board/freescale/mpc832xemds/pci.c b/board/freescale/mpc832xemds/pci.c
index a84b479..8cab771 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
{
--
1.7.2.3
More information about the U-Boot
mailing list