diff options
author | Randy Dunlap <rddunlap@osdl.org> | 2005-01-10 12:57:45 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-01-10 12:57:45 -0500 |
commit | ed01e3128ba207dd8ac07682369f3719672534e7 (patch) | |
tree | 33ca2a2a38ebbe53337a3a8c3dadeff83341d67d /drivers | |
parent | 73ef2d644741787f8054e69c4c52d471bd68617f (diff) | |
download | history-ed01e3128ba207dd8ac07682369f3719672534e7.tar.gz |
[PATCH] wl3501: fix module_param types/warnings
Fix gcc warning:
drivers/net/wireless/wl3501_cs.c:2282: warning: return from incompatible pointer type
module_param() isn't happy about different types for irq_mask;
unsigned long vs. int. Make it uint consistently.
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/wl3501_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index 58b101389ffa50..e52721a35da34e 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c @@ -100,7 +100,7 @@ module_param(pc_debug, int, 0); /* Parameters that can be set with 'insmod' */ /* Bit map of interrupts to choose from */ /* This means pick from 15, 14, 12, 11, 10, 9, 7, 5, 4, and 3 */ -static unsigned long wl3501_irq_mask = 0xdeb8; +static unsigned int wl3501_irq_mask = 0xdeb8; static int wl3501_irq_list[4] = { -1 }; /* @@ -2279,7 +2279,7 @@ static void __exit wl3501_exit_module(void) module_init(wl3501_init_module); module_exit(wl3501_exit_module); -module_param(wl3501_irq_mask, int, 0); +module_param(wl3501_irq_mask, uint, 0); module_param_array(wl3501_irq_list, int, NULL, 0); MODULE_AUTHOR("Fox Chen <mhchen@golf.ccl.itri.org.tw>, " "Arnaldo Carvalho de Melo <acme@conectiva.com.br>," |