[U-Boot] [PATCH] pm9g45: fix compile warning

Wolfgang Denk wd at denx.de
Tue Oct 5 21:27:17 CEST 2010


Fix warning:

	pm9g45.c: In function 'pm9g45_macb_hw_init':
	pm9g45.c:99: warning: unused variable 'pio'

Signed-off-by: Wolfgang Denk <wd at denx.de>
Cc: Ilko Iliev <iliev at ronetix.at>
---
 board/ronetix/pm9g45/pm9g45.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/board/ronetix/pm9g45/pm9g45.c b/board/ronetix/pm9g45/pm9g45.c
index 3b4d9a3..f3d48f2 100644
--- a/board/ronetix/pm9g45/pm9g45.c
+++ b/board/ronetix/pm9g45/pm9g45.c
@@ -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
-- 
1.7.2.3



More information about the U-Boot mailing list