[PATCH 20/24] imx-esdhc: fix printf compiler warnings
Sascha Hauer
s.hauer at pengutronix.de
Fri Jan 7 05:44:00 EST 2011
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
drivers/mci/imx-esdhc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c
index 63cd059..2937156 100644
--- a/drivers/mci/imx-esdhc.c
+++ b/drivers/mci/imx-esdhc.c
@@ -355,7 +355,7 @@ void set_sysctl(struct mci_host *mci, u32 clock)
div -= 1;
pre_div >>= 1;
- dev_dbg(host->dev, "set clock: wanted: %d got: %d\n", clock, host->cur_clock);
+ dev_dbg(host->dev, "set clock: wanted: %d got: %ld\n", clock, host->cur_clock);
dev_dbg(host->dev, "pre_div: %d div: %d\n", pre_div, div);
clk = (pre_div << 8) | (div << 4);
--
1.7.2.3
More information about the barebox
mailing list