Commit f0ab7d06 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] vga16fb warning fix

drivers/video/vga16fb.c:1350: warning: assignment makes pointer from integer without a cast
parent ab09753f
......@@ -1347,7 +1347,7 @@ int __init vga16fb_init(void)
/* XXX share VGA_FB_PHYS and I/O region with vgacon and others */
vga16fb.screen_base = VGA_MAP_MEM(VGA_FB_PHYS);
vga16fb.screen_base = (void *)VGA_MAP_MEM(VGA_FB_PHYS);
if (!vga16fb.screen_base) {
printk(KERN_ERR "vga16fb: unable to map device\n");
ret = -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment