Commit b9e48de1 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by David S. Miller

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 22ee3b57
...@@ -33,8 +33,8 @@ static unsigned long ram[] = {0, 0, 0, 0}; ...@@ -33,8 +33,8 @@ static unsigned long ram[] = {0, 0, 0, 0};
static bool do_reset = 0; static bool do_reset = 0;
module_param_array(io, int, NULL, 0); module_param_array(io, int, NULL, 0);
module_param_array(irq, int, NULL, 0); module_param_array(irq, byte, NULL, 0);
module_param_array(ram, int, NULL, 0); module_param_array(ram, long, NULL, 0);
module_param(do_reset, bool, 0); module_param(do_reset, bool, 0);
static int identify_board(unsigned long, unsigned int); static int identify_board(unsigned long, unsigned int);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment