diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2009-09-17 13:43:47 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-07 16:39:34 -0400 |
commit | 4e30cb691b9ba62642cc1594ef08f7439deb5a02 (patch) | |
tree | a1b67a9352bdde2837be984595c9c4b3e2b71b50 /drivers/net/wireless/iwlwifi/iwl-agn.c | |
parent | 1f4b9665032c4a1d60efd9ceaad2781cae6c7e92 (diff) |
iwlwifi: use S_IRUGO and S_IWUSR in module parameters
Instead of hardcode module parameter's permissions, use pre-defined.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 2a7cc4bdf3fd..cf2b481dca6d 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -3322,9 +3322,9 @@ module_exit(iwl_exit); | |||
3322 | module_init(iwl_init); | 3322 | module_init(iwl_init); |
3323 | 3323 | ||
3324 | #ifdef CONFIG_IWLWIFI_DEBUG | 3324 | #ifdef CONFIG_IWLWIFI_DEBUG |
3325 | module_param_named(debug50, iwl_debug_level, uint, 0444); | 3325 | module_param_named(debug50, iwl_debug_level, uint, S_IRUGO); |
3326 | MODULE_PARM_DESC(debug50, "50XX debug output mask (deprecated)"); | 3326 | MODULE_PARM_DESC(debug50, "50XX debug output mask (deprecated)"); |
3327 | module_param_named(debug, iwl_debug_level, uint, 0644); | 3327 | module_param_named(debug, iwl_debug_level, uint, S_IRUGO | S_IWUSR); |
3328 | MODULE_PARM_DESC(debug, "debug output mask"); | 3328 | MODULE_PARM_DESC(debug, "debug output mask"); |
3329 | #endif | 3329 | #endif |
3330 | 3330 | ||