isdn/sc: Fix incorrect module_param_array types
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 24 Apr 2013 02:46:37 +0000 (02:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Apr 2013 08:23:32 +0000 (04:23 -0400)
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>
drivers/isdn/sc/init.c

index 6b580b2c717f4c2c1cb951c1e020c2181beebaf0..ca997bd4e818c6c1606ddea03d53d8d5eb51cdd4 100644 (file)
@@ -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);