diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2007-05-28 23:24:39 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-05-28 23:24:39 -0400 |
commit | 0e2a4fd2e8c48ba5eb386d5698846a5ca0c80f39 (patch) | |
tree | 484400c8322235ad28fe038ea17419d43d5f150b /drivers/input/joystick/db9.c | |
parent | 230ffc8e348e7841b79fd7c659d16aa5d7ec8a69 (diff) | |
download | talos-obmc-linux-0e2a4fd2e8c48ba5eb386d5698846a5ca0c80f39.tar.gz talos-obmc-linux-0e2a4fd2e8c48ba5eb386d5698846a5ca0c80f39.zip |
Input: db9 - do not ignore dev2 module parameter
Because of incorrect parameter setup anything passed in dev2=...
was always ignored by the driver. See bugzilla #8541.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/joystick/db9.c')
-rw-r--r-- | drivers/input/joystick/db9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/db9.c b/drivers/input/joystick/db9.c index 86ad1027e12a..b069ee18e353 100644 --- a/drivers/input/joystick/db9.c +++ b/drivers/input/joystick/db9.c @@ -54,7 +54,7 @@ static struct db9_config db9_cfg[DB9_MAX_PORTS] __initdata; module_param_array_named(dev, db9_cfg[0].args, int, &db9_cfg[0].nargs, 0); MODULE_PARM_DESC(dev, "Describes first attached device (<parport#>,<type>)"); -module_param_array_named(dev2, db9_cfg[1].args, int, &db9_cfg[0].nargs, 0); +module_param_array_named(dev2, db9_cfg[1].args, int, &db9_cfg[1].nargs, 0); MODULE_PARM_DESC(dev2, "Describes second attached device (<parport#>,<type>)"); module_param_array_named(dev3, db9_cfg[2].args, int, &db9_cfg[2].nargs, 0); MODULE_PARM_DESC(dev3, "Describes third attached device (<parport#>,<type>)"); |