[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>
Esse commit está contido em:
@@ -31,7 +31,7 @@
|
||||
static char hycapi_revision[]="$Revision: 1.8.6.4 $";
|
||||
|
||||
unsigned int hycapi_enable = 0xffffffff;
|
||||
MODULE_PARM(hycapi_enable, "i");
|
||||
module_param(hycapi_enable, uint, 0);
|
||||
|
||||
typedef struct _hycapi_appl {
|
||||
unsigned int ctrl_mask;
|
||||
|
Referência em uma nova issue
Block a user