diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-04-24 04:46:37 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-25 10:23:32 +0200 |
commit | b9e48de110ec64bdfd4b83358d0e286551bb110c (patch) | |
tree | b24ea3fb3a8272ecda3f0d4482b74d9779e8007d /drivers/isdn | |
parent | VSOCK: Drop bogus __init annotation from vsock_init_tables() (diff) | |
download | linux-b9e48de110ec64bdfd4b83358d0e286551bb110c.tar.xz linux-b9e48de110ec64bdfd4b83358d0e286551bb110c.zip |
isdn/sc: Fix incorrect module_param_array types
drivers/isdn/sc/init.c: In function ‘__check_irq’:
drivers/isdn/sc/init.c:36: warning: return from incompatible pointer type
drivers/isdn/sc/init.c: In function ‘__check_ram’:
drivers/isdn/sc/init.c:37: warning: return from incompatible pointer type
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/sc/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/sc/init.c b/drivers/isdn/sc/init.c index 6b580b2c717f..ca997bd4e818 100644 --- a/drivers/isdn/sc/init.c +++ b/drivers/isdn/sc/init.c @@ -33,8 +33,8 @@ static unsigned long ram[] = {0, 0, 0, 0}; static bool do_reset = 0; module_param_array(io, int, NULL, 0); -module_param_array(irq, int, NULL, 0); -module_param_array(ram, int, NULL, 0); +module_param_array(irq, byte, NULL, 0); +module_param_array(ram, long, NULL, 0); module_param(do_reset, bool, 0); static int identify_board(unsigned long, unsigned int); |