Input: psmouse - use true instead of 1 for boolean values
The variable psmouse_smartscroll is bool type so assigning true instead of 1. Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
7debcbb135
commit
feb9eba80c
|
@ -63,7 +63,7 @@ static unsigned int psmouse_rate = 100;
|
||||||
module_param_named(rate, psmouse_rate, uint, 0644);
|
module_param_named(rate, psmouse_rate, uint, 0644);
|
||||||
MODULE_PARM_DESC(rate, "Report rate, in reports per second.");
|
MODULE_PARM_DESC(rate, "Report rate, in reports per second.");
|
||||||
|
|
||||||
static bool psmouse_smartscroll = 1;
|
static bool psmouse_smartscroll = true;
|
||||||
module_param_named(smartscroll, psmouse_smartscroll, bool, 0644);
|
module_param_named(smartscroll, psmouse_smartscroll, bool, 0644);
|
||||||
MODULE_PARM_DESC(smartscroll, "Logitech Smartscroll autorepeat, 1 = enabled (default), 0 = disabled.");
|
MODULE_PARM_DESC(smartscroll, "Logitech Smartscroll autorepeat, 1 = enabled (default), 0 = disabled.");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue