diff options
author | Bob Copeland <me@bobcopeland.com> | 2009-04-15 07:57:34 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:57:14 -0400 |
commit | 46802a4f07cd2367d584bb1a2e6998d22d4d4f3a (patch) | |
tree | 017ee0a44aa92f5aba0bc146aa95c8e3742906e8 | |
parent | 56d2ac763829d2443075e8266dd00166ee11c80d (diff) |
ath5k: use bool for modparams
Current code uses int types, but both modparams are boolean values.
Changes-licensed-under: 3-Clause-BSD
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index ef8523e418e2..3bde18f91450 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -61,11 +61,11 @@ | |||
61 | 61 | ||
62 | static int ath5k_calinterval = 10; /* Calibrate PHY every 10 secs (TODO: Fixme) */ | 62 | static int ath5k_calinterval = 10; /* Calibrate PHY every 10 secs (TODO: Fixme) */ |
63 | static int modparam_nohwcrypt; | 63 | static int modparam_nohwcrypt; |
64 | module_param_named(nohwcrypt, modparam_nohwcrypt, int, 0444); | 64 | module_param_named(nohwcrypt, modparam_nohwcrypt, bool, S_IRUGO); |
65 | MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption."); | 65 | MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption."); |
66 | 66 | ||
67 | static int modparam_all_channels; | 67 | static int modparam_all_channels; |
68 | module_param_named(all_channels, modparam_all_channels, int, 0444); | 68 | module_param_named(all_channels, modparam_all_channels, bool, S_IRUGO); |
69 | MODULE_PARM_DESC(all_channels, "Expose all channels the device can use."); | 69 | MODULE_PARM_DESC(all_channels, "Expose all channels the device can use."); |
70 | 70 | ||
71 | 71 | ||