aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Molton <spyro@f2s.com>2008-07-21 06:02:40 -0400
committerIan Molton <spyro@f2s.com>2008-07-26 17:25:20 -0400
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)
1336 fbi->dma_buff_phys = fbi->map_dma; 1336 fbi->dma_buff_phys = fbi->map_dma;
1337 fbi->palette_cpu = (u16 *) fbi->dma_buff->palette; 1337 fbi->palette_cpu = (u16 *) fbi->dma_buff->palette;
1338 1338
1339 pr_debug("pxafb: palette_mem_size = 0x%08lx\n", fbi->palette_size*sizeof(u16)); 1339 pr_debug("pxafb: palette_mem_size = 0x%08x\n", fbi->palette_size*sizeof(u16));
1340 1340
1341#ifdef CONFIG_FB_PXA_SMARTPANEL 1341#ifdef CONFIG_FB_PXA_SMARTPANEL
1342 fbi->smart_cmds = (uint16_t *) fbi->dma_buff->cmd_buff; 1342 fbi->smart_cmds = (uint16_t *) fbi->dma_buff->cmd_buff;