summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/clps711x-fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/clps711x-fb.c')
-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)
/* Setup start FB address */
writeb(info->fix.smem_start >> 28, cfb->base + CLPS711X_FBADDR);
/* Clean FB memory */
- memset(info->screen_base, 0, cfb->buffsize);
+ memset_io(info->screen_base, 0, cfb->buffsize);
}
cfb->lcd_pwr = devm_regulator_get(dev, "lcd");