[PATCH 12/24] smc911x: fix printf compiler warnings

Sascha Hauer s.hauer at pengutronix.de
Fri Jan 7 05:43:52 EST 2011


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/net/smc911x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c
index b559590..e5c0e7e 100644
--- a/drivers/net/smc911x.c
+++ b/drivers/net/smc911x.c
@@ -687,7 +687,7 @@ static int smc911x_probe(struct device_d *dev)
 {
 	struct eth_device *edev;
 	struct smc911x_priv *priv;
-	ulong val;
+	uint32_t val;
 	int i;
 
 	debug("smc911x_eth_init()\n");
-- 
1.7.2.3




More information about the barebox mailing list