[ARM] PXA: squash warning in pxafb
authorIan Molton <spyro@f2s.com>
Mon, 21 Jul 2008 10:02:40 +0000 (11:02 +0100)
committerIan Molton <spyro@f2s.com>
Sat, 26 Jul 2008 21:25:20 +0000 (22:25 +0100)
Fixes a warning about using the wrong type in pxafb.c

Signed-off-by: Ian Molton <spyro@f2s.com>
drivers/video/pxafb.c

index 2b707a8..69de2fe 100644 (file)
@@ -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;