diff options
author | Andrew Morton <akpm@osdl.org> | 2006-03-21 01:33:41 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 01:33:41 -0500 |
commit | 73a6c6306876c83ed992f1b15069a0ee9b3fa73b (patch) | |
tree | bd6e3628b6a5456a11200af8708210849a6c5390 /drivers/net/irda | |
parent | 4a3e2f711a00a1feb72ae12fdc749da10179d185 (diff) |
[IRDA]: remove MODULE_PARM()
MODULE_PARM() is deprecated and is about to go away altogether.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda')
-rw-r--r-- | drivers/net/irda/toim3232-sir.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/irda/toim3232-sir.c b/drivers/net/irda/toim3232-sir.c index f6e5fed6a36d..aa1a9b0ed83e 100644 --- a/drivers/net/irda/toim3232-sir.c +++ b/drivers/net/irda/toim3232-sir.c | |||
@@ -125,18 +125,18 @@ | |||
125 | 125 | ||
126 | #include "sir-dev.h" | 126 | #include "sir-dev.h" |
127 | 127 | ||
128 | MODULE_PARM(toim3232delay, "i"); | ||
129 | MODULE_PARM_DESC(toim3232delay, "toim3232 dongle write complete delay"); | ||
130 | static int toim3232delay = 150; /* default is 150 ms */ | 128 | static int toim3232delay = 150; /* default is 150 ms */ |
129 | module_param(toim3232delay, int, 0); | ||
130 | MODULE_PARM_DESC(toim3232delay, "toim3232 dongle write complete delay"); | ||
131 | 131 | ||
132 | #if 0 | 132 | #if 0 |
133 | MODULE_PARM(toim3232flipdtr, "i"); | ||
134 | MODULE_PARM_DESC(toim3232flipdtr, "toim3232 dongle invert DTR (Reset)"); | ||
135 | static int toim3232flipdtr = 0; /* default is DTR high to reset */ | 133 | static int toim3232flipdtr = 0; /* default is DTR high to reset */ |
134 | module_param(toim3232flipdtr, int, 0); | ||
135 | MODULE_PARM_DESC(toim3232flipdtr, "toim3232 dongle invert DTR (Reset)"); | ||
136 | 136 | ||
137 | MODULE_PARM(toim3232fliptrs, "i"); | ||
138 | MODULE_PARM_DESC(toim3232fliprts, "toim3232 dongle invert RTS (BR/D)"); | ||
139 | static int toim3232fliprts = 0; /* default is RTS high for baud change */ | 137 | static int toim3232fliprts = 0; /* default is RTS high for baud change */ |
138 | module_param(toim3232fliptrs, int, 0); | ||
139 | MODULE_PARM_DESC(toim3232fliprts, "toim3232 dongle invert RTS (BR/D)"); | ||
140 | #endif | 140 | #endif |
141 | 141 | ||
142 | static int toim3232_open(struct sir_dev *); | 142 | static int toim3232_open(struct sir_dev *); |