[PATCH] Remove MODULE_PARM
MODULE_PARM was actually breaking: recent gcc version optimize them out as unused. It's time to replace the last users, which are generally in the most unloved drivers anyway. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

vanhempi
c721bccece
commit
8d3b33f67f
@@ -154,8 +154,8 @@ static void start_adc(struct cs4297a_state *s);
|
||||
#if CSDEBUG
|
||||
static unsigned long cs_debuglevel = 4; // levels range from 1-9
|
||||
static unsigned long cs_debugmask = CS_INIT /*| CS_IOCTL*/;
|
||||
MODULE_PARM(cs_debuglevel, "i");
|
||||
MODULE_PARM(cs_debugmask, "i");
|
||||
module_param(cs_debuglevel, int, 0);
|
||||
module_param(cs_debugmask, int, 0);
|
||||
#endif
|
||||
#define CS_TRUE 1
|
||||
#define CS_FALSE 0
|
||||
|
Viittaa uudesa ongelmassa
Block a user