summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-01-07 11:35:58 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-07 11:35:58 +0100
commit573400471d8f02c7ab2f94c7c28f0a188b048ab1 (patch)
treec9ba5d6ef67cb7869819f1e5d26b7ffd64182d10
parente0024d74cb30b4f092ac75e29252dc0ef56c7720 (diff)
downloadbarebox-573400471d8f02c7ab2f94c7c28f0a188b048ab1.tar.gz
barebox-573400471d8f02c7ab2f94c7c28f0a188b048ab1.tar.xz
cs8900: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/net/cs8900.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/cs8900.c b/drivers/net/cs8900.c
index 8120877680..b8264d7041 100644
--- a/drivers/net/cs8900.c
+++ b/drivers/net/cs8900.c
@@ -364,7 +364,7 @@ static void cs8900_info(struct device_d *dev)
struct cs8900_priv *priv = (struct cs8900_priv *)edev->priv;
u16 v;
- printf("%s Rev. %s (PID: 0x%04x) at 0x%08x\n", priv->chip->name,
+ printf("%s Rev. %s (PID: 0x%04x) at 0x%p\n", priv->chip->name,
priv->product->rev_name, priv->product->product_id,
priv->regs);
@@ -399,7 +399,7 @@ static int cs8900_check_id(struct cs8900_priv *priv)
u16 v;
v = cs8900_ior(priv, PP_BI_VID);
if (v != CRYSTAL_SEMI_EISA_ID) {
- printf("No CS89x0 variant found at 0x%08x vid: 0x%04x\n",
+ printf("No CS89x0 variant found at 0x%p vid: 0x%04x\n",
priv->regs, v);
return -1;
}
@@ -424,7 +424,7 @@ static int cs8900_check_id(struct cs8900_priv *priv)
printf("Invalid chip type %d\n", product->chip_type);
goto out;
}
- printf("%s Rev. %s (PID: 0x%04x) found at 0x%08x\n", chip->name,
+ printf("%s Rev. %s (PID: 0x%04x) found at 0x%p\n", chip->name,
product->rev_name, v, priv->regs);
priv->chip = chip;
priv->product = product;