diff options
Diffstat (limited to 'drivers/input/misc/uinput.c')
-rw-r--r-- | drivers/input/misc/uinput.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/input/misc/uinput.c b/drivers/input/misc/uinput.c index 713260322137..4702ade804ac 100644 --- a/drivers/input/misc/uinput.c +++ b/drivers/input/misc/uinput.c | |||
@@ -495,6 +495,10 @@ static long uinput_ioctl(struct file *file, unsigned int cmd, unsigned long arg) | |||
495 | retval = uinput_set_bit(arg, ffbit, FF_MAX); | 495 | retval = uinput_set_bit(arg, ffbit, FF_MAX); |
496 | break; | 496 | break; |
497 | 497 | ||
498 | case UI_SET_SWBIT: | ||
499 | retval = uinput_set_bit(arg, swbit, SW_MAX); | ||
500 | break; | ||
501 | |||
498 | case UI_SET_PHYS: | 502 | case UI_SET_PHYS: |
499 | if (udev->state == UIST_CREATED) { | 503 | if (udev->state == UIST_CREATED) { |
500 | retval = -EINVAL; | 504 | retval = -EINVAL; |