Skip to contentSkip to conversation

MPC832XEMDS: fix pci.c build warning

PATCH New Wolfgang Denk 1 participant 2 messages Oct 16, 2010 – Oct 18, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 board/freescale/mpc832xemds/pci.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
board/freescale/mpc832xemds/pci.c +0 -3
index a84b479..8cab771 100644
@@ -68,9 +68,6 @@ static struct pci_region pci2_regions[] = {
 };
 #endif
 
-DECLARE_GLOBAL_DATA_PTR;
-
-
 void pci_init_board(void)
 #ifdef CONFIG_PCISLAVE
 {
Signature · 1 line
1.7.2.3
author Applied
#1 lore raw

PATCH 1/1 MPC832XEMDS: fix pci.c build warning

Quoted 10 lines · In message <[email protected]> I wrote:

Doubled use of DECLARE_GLOBAL_DATA_PTR caused compile warning:

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

---
 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

Signature · 7 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
G's Third Law:             In spite of all evidence  to  the  contra-
ry,  the  entire  universe  is composed of only two basic substances:
magic and bullshit.
H's Dictum:                There is no magic ...