summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Molton <spyro@f2s.com>2008-07-21 11:02:40 +0100
committerIan Molton <spyro@f2s.com>2008-07-26 22:25:20 +0100
commite84e954a72153ffd5630df6156720440b430c877 (patch)
treebd443e124565dfefa8bd9c844d0824027a737531
parentaafe0ad81d7458b6c61eeb39068432683c70c9a9 (diff)
[ARM] PXA: squash warning in pxafb
Fixes a warning about using the wrong type in pxafb.c Signed-off-by: Ian Molton <spyro@f2s.com>
-rw-r--r--drivers/video/pxafb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/pxafb.c b/drivers/video/pxafb.c
index 2b707a8ce5de..69de2fed6c58 100644
--- a/drivers/video/pxafb.c
+++ b/drivers/video/pxafb.c
@@ -1336,7 +1336,7 @@ static int __devinit pxafb_map_video_memory(struct pxafb_info *fbi)
fbi->dma_buff_phys = fbi->map_dma;
fbi->palette_cpu = (u16 *) fbi->dma_buff->palette;
- pr_debug("pxafb: palette_mem_size = 0x%08lx\n", fbi->palette_size*sizeof(u16));
+ pr_debug("pxafb: palette_mem_size = 0x%08x\n", fbi->palette_size*sizeof(u16));
#ifdef CONFIG_FB_PXA_SMARTPANEL
fbi->smart_cmds = (uint16_t *) fbi->dma_buff->cmd_buff;