X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fvideo%2Fvfb.c;h=2a2a765c63210a0b6530ea2bcac1d1d0a14dab7d;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=a00da53ec94f464b523f0463fa0eba1d071265fc;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/video/vfb.c b/drivers/video/vfb.c index a00da53ec..2a2a765c6 100644 --- a/drivers/video/vfb.c +++ b/drivers/video/vfb.c @@ -35,7 +35,7 @@ static void *videomemory; static u_long videomemorysize = VIDEOMEMSIZE; -MODULE_PARM(videomemorysize, "l"); +module_param(videomemorysize, ulong, 0); static struct fb_var_screeninfo vfb_default __initdata = { .xres = 640, @@ -70,7 +70,7 @@ static struct fb_fix_screeninfo vfb_fix __initdata = { }; static int vfb_enable __initdata = 0; /* disabled by default */ -MODULE_PARM(vfb_enable, "i"); +module_param(vfb_enable, bool, 0); /* * Interface used by the world @@ -430,7 +430,7 @@ static int __init vfb_probe(struct device *device) if (!info) goto err; - info->screen_base = videomemory; + info->screen_base = (char __iomem *)videomemory; info->fbops = &vfb_ops; retval = fb_find_mode(&info->var, info, NULL,