diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-10-21 14:17:08 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-27 23:54:01 +0200 |
commit | 1f09b44cae73d41072d56f04050c6152529a4fb5 (patch) | |
tree | a728418a2fee9360c563114c4073783496aa5549 /board | |
parent | dffe06fa4a771ab410a065908305d24c54607fe8 (diff) | |
download | u-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')
-rw-r--r-- | board/freescale/p1022ds/diu.c | 2 |
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; |