[PATCH 01/24] i.MX: fix printf compiler warnings

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


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/mach-imx/speed-imx27.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/arch/arm/mach-imx/speed-imx27.c b/arch/arm/mach-imx/speed-imx27.c
index 0a92d29..aba5097 100644
--- a/arch/arm/mach-imx/speed-imx27.c
+++ b/arch/arm/mach-imx/speed-imx27.c
@@ -172,16 +172,16 @@ void imx_dump_clocks(void)
 	       (cid >> 28) & 0xf, (cid >> 16) & 0xfff,
 	       (cid >> 12) & 0xf, (cid >>  0) & 0xfff);
 
-	printf("mpll:    %10d Hz\n", imx_get_mpllclk());
-	printf("spll:    %10d Hz\n", imx_get_spllclk());
-	printf("arm:     %10d Hz\n", imx_get_armclk());
-	printf("perclk1: %10d Hz\n", imx_get_perclk1());
-	printf("perclk2: %10d Hz\n", imx_get_perclk2());
-	printf("perclk3: %10d Hz\n", imx_get_perclk3());
-	printf("perclk4: %10d Hz\n", imx_get_perclk4());
-	printf("clkin26: %10d Hz\n", clk_in_26m());
-	printf("ahb:     %10d Hz\n", imx_get_ahbclk());
-	printf("ipg:     %10d Hz\n", imx_get_ipgclk());
+	printf("mpll:    %10ld Hz\n", imx_get_mpllclk());
+	printf("spll:    %10ld Hz\n", imx_get_spllclk());
+	printf("arm:     %10ld Hz\n", imx_get_armclk());
+	printf("perclk1: %10ld Hz\n", imx_get_perclk1());
+	printf("perclk2: %10ld Hz\n", imx_get_perclk2());
+	printf("perclk3: %10ld Hz\n", imx_get_perclk3());
+	printf("perclk4: %10ld Hz\n", imx_get_perclk4());
+	printf("clkin26: %10ld Hz\n", clk_in_26m());
+	printf("ahb:     %10ld Hz\n", imx_get_ahbclk());
+	printf("ipg:     %10ld Hz\n", imx_get_ipgclk());
 }
 
 /*
-- 
1.7.2.3




More information about the barebox mailing list