aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-12-01 17:40:54 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-12-01 17:40:54 +0000
commit020f97063dd68a8e3b9aac928ac49a438b7416ce (patch)
treee141ad9b60d3122cfa8323ded11e2bd1be8a0735 /drivers/video/omap
parentd9d060a98ff89fe0f86e24c9c0c3d2f0c566781c (diff)
downloadkernel_samsung_crespo-020f97063dd68a8e3b9aac928ac49a438b7416ce.zip
kernel_samsung_crespo-020f97063dd68a8e3b9aac928ac49a438b7416ce.tar.gz
kernel_samsung_crespo-020f97063dd68a8e3b9aac928ac49a438b7416ce.tar.bz2
[ARM] omap: fix a pile of issues
This patch fixes a number of sillies, from missing 'const' to using 'return' in void functions, to functions with no arguments not even 'void' and a cast which isn't required. Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/video/omap')
-rw-r--r--drivers/video/omap/omapfb_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/omap/omapfb_main.c b/drivers/video/omap/omapfb_main.c
index 5a5e407..1a49519 100644
--- a/drivers/video/omap/omapfb_main.c
+++ b/drivers/video/omap/omapfb_main.c
@@ -392,7 +392,7 @@ static void set_fb_fix(struct fb_info *fbi)
int bpp;
rg = &plane->fbdev->mem_desc.region[plane->idx];
- fbi->screen_base = (char __iomem *)rg->vaddr;
+ fbi->screen_base = rg->vaddr;
fix->smem_start = rg->paddr;
fix->smem_len = rg->size;