Skip to contentSkip to conversation

pm9g45: fix compile warning

PATCH New Wolfgang Denk 1 participant 2 messages Oct 5, 2010 – Oct 6, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pm9g45: fix compile warning

Fix warning:

	pm9g45.c: In function 'pm9g45_macb_hw_init':
	pm9g45.c:99: warning: unused variable 'pio'
---
 board/ronetix/pm9g45/pm9g45.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
board/ronetix/pm9g45/pm9g45.c +0 -1
index 3b4d9a3..f3d48f2 100644
@@ -96,7 +96,6 @@ static void pm9g45_nand_hw_init(void)
 static void pm9g45_macb_hw_init(void)
 {
 	at91_pmc_t	*pmc	= (at91_pmc_t *) AT91_PMC_BASE;
-	at91_pio_t	*pio	= (at91_pio_t *) AT91_PIO_BASE;
 
 	/*
 	 * PD2 enables the 50MHz oscillator for Ethernet PHY
Signature · 1 line
1.7.2.3
author Applied
#1 lore raw

PATCH 1/1 pm9g45: fix compile warning

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

Fix warning:

	pm9g45.c: In function 'pm9g45_macb_hw_init':
	pm9g45.c:99: warning: unused variable 'pio'
---
 board/ronetix/pm9g45/pm9g45.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Applied.

Best regards,

Wolfgang Denk

Signature · 5 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
Children are natural mimics who act like their parents despite  every
effort to teach them good manners.