@@ -48,13 +48,13 @@ static bool def_mirror;
static bool auto_update;
static unsigned int auto_update_freq;
module_param(auto_update, bool, 0);
-module_param(auto_update_freq, uint, 0644);
+module_param(auto_update_freq, uint, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
#ifdef DEBUG
bool omapfb_debug;
-module_param_named(debug, omapfb_debug, bool, 0644);
+module_param_named(debug, omapfb_debug, bool, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
static bool omapfb_test_pattern;
-module_param_named(test, omapfb_test_pattern, bool, 0644);
+module_param_named(test, omapfb_test_pattern, bool, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
#endif
static int omapfb_fb_init(struct omapfb2_device *fbdev, struct fb_info *fbi);