aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-06-28 02:34:06 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-07-04 04:04:45 -0400
commitb1f46dd1079d78aa46b8bc740d3e24117335f150 (patch)
treee9a583e1af368930ec0415c396d8ffdce2e57511 /drivers/video
parent6471b30f4220d4bf899efe347a47856db045f53e (diff)
video: clps711x: Fix sparse warnings
This patch fixes below warning: drivers/video/fbdev/clps711x-fb.c:314:17: warning: incorrect type in initializer (different address spaces) drivers/video/fbdev/clps711x-fb.c:314:17: expected void *__p drivers/video/fbdev/clps711x-fb.c:314:17: got char [noderef] <asn:2>*screen_base Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/clps711x-fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/clps711x-fb.c b/drivers/video/fbdev/clps711x-fb.c
index 4d17fbb3ffab..49a7bb4ef02f 100644
--- a/drivers/video/fbdev/clps711x-fb.c
+++ b/drivers/video/fbdev/clps711x-fb.c
@@ -311,7 +311,7 @@ static int clps711x_fb_probe(struct platform_device *pdev)
311 /* Setup start FB address */ 311 /* Setup start FB address */
312 writeb(info->fix.smem_start >> 28, cfb->base + CLPS711X_FBADDR); 312 writeb(info->fix.smem_start >> 28, cfb->base + CLPS711X_FBADDR);
313 /* Clean FB memory */ 313 /* Clean FB memory */
314 memset(info->screen_base, 0, cfb->buffsize); 314 memset_io(info->screen_base, 0, cfb->buffsize);
315 } 315 }
316 316
317 cfb->lcd_pwr = devm_regulator_get(dev, "lcd"); 317 cfb->lcd_pwr = devm_regulator_get(dev, "lcd");