Skip to content
Snippets Groups Projects
Commit 73a6c630 authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller
Browse files

[IRDA]: remove MODULE_PARM()


MODULE_PARM() is deprecated and is about to go away altogether.

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4a3e2f71
No related branches found
No related tags found
No related merge requests found
...@@ -125,18 +125,18 @@ ...@@ -125,18 +125,18 @@
#include "sir-dev.h" #include "sir-dev.h"
MODULE_PARM(toim3232delay, "i");
MODULE_PARM_DESC(toim3232delay, "toim3232 dongle write complete delay");
static int toim3232delay = 150; /* default is 150 ms */ static int toim3232delay = 150; /* default is 150 ms */
module_param(toim3232delay, int, 0);
MODULE_PARM_DESC(toim3232delay, "toim3232 dongle write complete delay");
#if 0 #if 0
MODULE_PARM(toim3232flipdtr, "i");
MODULE_PARM_DESC(toim3232flipdtr, "toim3232 dongle invert DTR (Reset)");
static int toim3232flipdtr = 0; /* default is DTR high to reset */ static int toim3232flipdtr = 0; /* default is DTR high to reset */
module_param(toim3232flipdtr, int, 0);
MODULE_PARM_DESC(toim3232flipdtr, "toim3232 dongle invert DTR (Reset)");
MODULE_PARM(toim3232fliptrs, "i");
MODULE_PARM_DESC(toim3232fliprts, "toim3232 dongle invert RTS (BR/D)");
static int toim3232fliprts = 0; /* default is RTS high for baud change */ static int toim3232fliprts = 0; /* default is RTS high for baud change */
module_param(toim3232fliptrs, int, 0);
MODULE_PARM_DESC(toim3232fliprts, "toim3232 dongle invert RTS (BR/D)");
#endif #endif
static int toim3232_open(struct sir_dev *); static int toim3232_open(struct sir_dev *);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment