diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2006-03-25 06:07:05 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 11:22:52 -0500 |
commit | 8d3b33f67fdc0fb364a1ef6d8fbbea7c2e4e6c98 (patch) | |
tree | 7fc48e7544ea6a6c6a7cc7685612a38f5edc25ae /drivers/isdn/hysdn | |
parent | c721bccece2b3abca4f7b0b95108e68b78445cec (diff) |
[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>
Diffstat (limited to 'drivers/isdn/hysdn')
-rw-r--r-- | drivers/isdn/hysdn/hycapi.c | 2 | ||||
-rw-r--r-- | drivers/isdn/hysdn/hysdn_net.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hysdn/hycapi.c b/drivers/isdn/hysdn/hycapi.c index 55fbea0b6ac8..6bac43cc91bd 100644 --- a/drivers/isdn/hysdn/hycapi.c +++ b/drivers/isdn/hysdn/hycapi.c | |||
@@ -31,7 +31,7 @@ | |||
31 | static char hycapi_revision[]="$Revision: 1.8.6.4 $"; | 31 | static char hycapi_revision[]="$Revision: 1.8.6.4 $"; |
32 | 32 | ||
33 | unsigned int hycapi_enable = 0xffffffff; | 33 | unsigned int hycapi_enable = 0xffffffff; |
34 | MODULE_PARM(hycapi_enable, "i"); | 34 | module_param(hycapi_enable, uint, 0); |
35 | 35 | ||
36 | typedef struct _hycapi_appl { | 36 | typedef struct _hycapi_appl { |
37 | unsigned int ctrl_mask; | 37 | unsigned int ctrl_mask; |
diff --git a/drivers/isdn/hysdn/hysdn_net.c b/drivers/isdn/hysdn/hysdn_net.c index 683647b1f2bc..d205249a1242 100644 --- a/drivers/isdn/hysdn/hysdn_net.c +++ b/drivers/isdn/hysdn/hysdn_net.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include "hysdn_defs.h" | 24 | #include "hysdn_defs.h" |
25 | 25 | ||
26 | unsigned int hynet_enable = 0xffffffff; | 26 | unsigned int hynet_enable = 0xffffffff; |
27 | MODULE_PARM(hynet_enable, "i"); | 27 | module_param(hynet_enable, uint, 0); |
28 | 28 | ||
29 | /* store the actual version for log reporting */ | 29 | /* store the actual version for log reporting */ |
30 | char *hysdn_net_revision = "$Revision: 1.8.6.4 $"; | 30 | char *hysdn_net_revision = "$Revision: 1.8.6.4 $"; |