Commit 3aa872d0 authored by Antonino Daplas's avatar Antonino Daplas Committed by Linus Torvalds

[PATCH] i810fb: Module param fix

Last parameter is file permition in sysfs, not default value.  (If 0, file is
not accessible trough sysfs, and that's what i did.)
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e20c180c
...@@ -2002,20 +2002,20 @@ int __init i810fb_init(void) ...@@ -2002,20 +2002,20 @@ int __init i810fb_init(void)
return pci_register_driver(&i810fb_driver); return pci_register_driver(&i810fb_driver);
} }
module_param(vram, int, 4); module_param(vram, int, 0);
MODULE_PARM_DESC(vram, "System RAM to allocate to framebuffer in MiB" MODULE_PARM_DESC(vram, "System RAM to allocate to framebuffer in MiB"
" (default=4)"); " (default=4)");
module_param(voffset, int, 0); module_param(voffset, int, 0);
MODULE_PARM_DESC(voffset, "at what offset to place start of framebuffer " MODULE_PARM_DESC(voffset, "at what offset to place start of framebuffer "
"memory (0 to maximum aperture size), in MiB (default = 48)"); "memory (0 to maximum aperture size), in MiB (default = 48)");
module_param(bpp, int, 8); module_param(bpp, int, 0);
MODULE_PARM_DESC(bpp, "Color depth for display in bits per pixel" MODULE_PARM_DESC(bpp, "Color depth for display in bits per pixel"
" (default = 8)"); " (default = 8)");
module_param(xres, int, 640); module_param(xres, int, 0);
MODULE_PARM_DESC(xres, "Horizontal resolution in pixels (default = 640)"); MODULE_PARM_DESC(xres, "Horizontal resolution in pixels (default = 640)");
module_param(yres, int, 480); module_param(yres, int, 0);
MODULE_PARM_DESC(yres, "Vertical resolution in scanlines (default = 480)"); MODULE_PARM_DESC(yres, "Vertical resolution in scanlines (default = 480)");
module_param(vyres,int, 480); module_param(vyres,int, 0);
MODULE_PARM_DESC(vyres, "Virtual vertical resolution in scanlines" MODULE_PARM_DESC(vyres, "Virtual vertical resolution in scanlines"
" (default = 480)"); " (default = 480)");
module_param(hsync1, int, 0); module_param(hsync1, int, 0);
......
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