summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-10-24 23:41:00 +0000
committerWolfgang Denk <wd@denx.de>2011-10-27 23:54:08 +0200
commit78459123d94b08b434482b9a4916404901bc9232 (patch)
tree34890e0bb52b49c4baa4e4998c9ad859289b6fa0 /include
parent0aa27657b0ee4d2185d88e2035775d46c6ee5bdc (diff)
downloadu-boot-imx-78459123d94b08b434482b9a4916404901bc9232.zip
u-boot-imx-78459123d94b08b434482b9a4916404901bc9232.tar.gz
u-boot-imx-78459123d94b08b434482b9a4916404901bc9232.tar.bz2
GCC4.6: Squash warning in lcd.c
lcd.c: In function 'lcd_setmem': lcd.c:446:2: warning: format '%d' expects type 'int', but argument 2 has type 'u_long' lcd.c:446:2: warning: format '%d' expects type 'int', but argument 3 has type 'u_long' 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 'include')
-rw-r--r--include/lcd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lcd.h b/include/lcd.h
index 0e098d9..89cc90c 100644
--- a/include/lcd.h
+++ b/include/lcd.h
@@ -159,8 +159,8 @@ typedef struct vidinfo {
#elif defined(CONFIG_ATMEL_LCD)
typedef struct vidinfo {
- u_long vl_col; /* Number of columns (i.e. 640) */
- u_long vl_row; /* Number of rows (i.e. 480) */
+ ushort vl_col; /* Number of columns (i.e. 640) */
+ ushort vl_row; /* Number of rows (i.e. 480) */
u_long vl_clk; /* pixel clock in ps */
/* LCD configuration register */