video: fbdev: i740fb: use memset_io() to clear screen
sparse complains that using memset() on __iomem pointer is wrong: incorrect type in argument 1 (different address spaces) Use memset_io() to clear screen instead. Tested on real i740 cards. Signed-off-by: Ondrej Zary <linux@zary.sk> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
7015bb57c3
commit
12acdbd7ca
|
@ -740,7 +740,7 @@ static int i740fb_set_par(struct fb_info *info)
|
|||
if (i)
|
||||
return i;
|
||||
|
||||
memset(info->screen_base, 0, info->screen_size);
|
||||
memset_io(info->screen_base, 0, info->screen_size);
|
||||
|
||||
vga_protect(par);
|
||||
|
||||
|
|
Loading…
Reference in New Issue