diff options
author | Jason Andryuk <jandryuk@gmail.com> | 2009-02-18 15:41:04 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 14:52:44 -0500 |
commit | 2ce4f9d8618b84994b19e0a31a56562863666623 (patch) | |
tree | 8552517e4c0ff4226edff83ff46edfc4aa388391 /drivers/net/wireless/at76c50x-usb.c | |
parent | 19e8bc7fa7df2f208554d1d06b9af129cd7f452a (diff) |
at76c50x-usb: convert at76_debug to an unsigned int
at76_debug should be an unsigned int as it used as a bit field. In
fact, modprobe fails when trying to set at76_debug's high bit.
Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Kalle Valo <kalle.valo@iki.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/at76c50x-usb.c')
-rw-r--r-- | drivers/net/wireless/at76c50x-usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/at76c50x-usb.c b/drivers/net/wireless/at76c50x-usb.c index df3efc568580..aa06b90664d3 100644 --- a/drivers/net/wireless/at76c50x-usb.c +++ b/drivers/net/wireless/at76c50x-usb.c | |||
@@ -109,7 +109,7 @@ | |||
109 | } \ | 109 | } \ |
110 | } while (0) | 110 | } while (0) |
111 | 111 | ||
112 | static int at76_debug = DBG_DEFAULTS; | 112 | static uint at76_debug = DBG_DEFAULTS; |
113 | 113 | ||
114 | /* Protect against concurrent firmware loading and parsing */ | 114 | /* Protect against concurrent firmware loading and parsing */ |
115 | static struct mutex fw_mutex; | 115 | static struct mutex fw_mutex; |
@@ -2459,7 +2459,7 @@ static void __exit at76_mod_exit(void) | |||
2459 | led_trigger_unregister_simple(ledtrig_tx); | 2459 | led_trigger_unregister_simple(ledtrig_tx); |
2460 | } | 2460 | } |
2461 | 2461 | ||
2462 | module_param_named(debug, at76_debug, int, 0600); | 2462 | module_param_named(debug, at76_debug, uint, 0600); |
2463 | MODULE_PARM_DESC(debug, "Debugging level"); | 2463 | MODULE_PARM_DESC(debug, "Debugging level"); |
2464 | 2464 | ||
2465 | module_init(at76_mod_init); | 2465 | module_init(at76_mod_init); |