@@ -461,13 +461,13 @@ static void gx1fb_cleanup(void)
module_init(gx1fb_init);
module_exit(gx1fb_cleanup);
-module_param_string(mode, mode_option, sizeof(mode_option), 0444);
+module_param_string(mode, mode_option, sizeof(mode_option), S_IRUSR | S_IRGRP | S_IROTH);
MODULE_PARM_DESC(mode, "video mode (<x>x<y>[-<bpp>][@<refr>])");
-module_param_named(crt, crt_option, int, 0444);
+module_param_named(crt, crt_option, int, S_IRUSR | S_IRGRP | S_IROTH);
MODULE_PARM_DESC(crt, "enable CRT output. 0 = off, 1 = on (default)");
-module_param_string(panel, panel_option, sizeof(panel_option), 0444);
+module_param_string(panel, panel_option, sizeof(panel_option), S_IRUSR | S_IRGRP | S_IROTH);
MODULE_PARM_DESC(panel, "size of attached flat panel (<x>x<y>)");
MODULE_DESCRIPTION("framebuffer driver for the AMD Geode GX1");