From: Wolfgang Denk <wd@denx.de>
Date: Tue, 5 Oct 2010 19:27:17 +0000 (+0200)
Subject: pm9g45: fix compile warning
X-Git-Tag: v2025.01-rc5-pxa1908~20070
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/index.html?a=commitdiff_plain;h=6f984adb31b9a591f12a960b0a8efc665c0ed3e8;p=u-boot.git

pm9g45: fix compile warning

Fix warning:

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

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Ilko Iliev <iliev@ronetix.at>
---

diff --git a/board/ronetix/pm9g45/pm9g45.c b/board/ronetix/pm9g45/pm9g45.c
index 3b4d9a3459..f3d48f233e 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