[U-Boot] [PATCH] 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
--- 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 {

In message 1287245227-5920-1-git-send-email-wd@denx.de I wrote:
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 | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
Applied.
Kim, I hope that's OK with you.
Best regards,
Wolfgang Denk
participants (1)
-
Wolfgang Denk