summaryrefslogtreecommitdiff
path: root/board/freescale/p1022ds/diu.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-10-21 14:17:08 +0000
committerWolfgang Denk <wd@denx.de>2011-10-27 23:54:01 +0200
commit1f09b44cae73d41072d56f04050c6152529a4fb5 (patch)
treea728418a2fee9360c563114c4073783496aa5549 /board/freescale/p1022ds/diu.c
parentdffe06fa4a771ab410a065908305d24c54607fe8 (diff)
downloadu-boot-imx-1f09b44cae73d41072d56f04050c6152529a4fb5.zip
u-boot-imx-1f09b44cae73d41072d56f04050c6152529a4fb5.tar.gz
u-boot-imx-1f09b44cae73d41072d56f04050c6152529a4fb5.tar.bz2
GCC4.6: Squash warnings in diu.c
diu.c: In function 'diu_set_pixel_clock': diu.c:77: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'u32' Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/freescale/p1022ds/diu.c')
-rw-r--r--board/freescale/p1022ds/diu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/p1022ds/diu.c b/board/freescale/p1022ds/diu.c
index cef81ce..d5428ea 100644
--- a/board/freescale/p1022ds/diu.c
+++ b/board/freescale/p1022ds/diu.c
@@ -74,7 +74,7 @@ void diu_set_pixel_clock(unsigned int pixclock)
temp = 1000000000 / pixclock;
temp *= 1000;
pixval = speed_ccb / temp;
- debug("DIU pixval = %lu\n", pixval);
+ debug("DIU pixval = %u\n", pixval);
/* Modify PXCLK in GUTS CLKDVDR */
temp = in_be32(&gur->clkdvdr) & 0x2000FFFF;