summaryrefslogtreecommitdiff
path: root/samples/hid/hid_surface_dial.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2022-11-18 13:54:48 +0300
committerJiri Kosina <jkosina@suse.cz>2022-11-21 20:37:08 +0300
commit7e41b2e9776d85950896d9e117a525a44bb6ce92 (patch)
treec9aea586df540bd0954001afe87cd2535248a645 /samples/hid/hid_surface_dial.c
parent6cc90ccd4f6cfed98e2a3a378debc69f28d57473 (diff)
downloadlinux-7e41b2e9776d85950896d9e117a525a44bb6ce92.tar.xz
HID: force HID depending on INPUT
In most configurations, INPUT is actually a boolean: either y or disabled, but when it's disabled, you can't do much on your average laptop. But it turns out that there is a possibility to have INPUT as a module: you have to disable VT and TTY (of course), but also enable EXPERT. I'll leave how to disable VT and TTY as an exercise for the bravest. Anyway, if INPUT is m, we can still configure HID as y, which is not correct because hid-input.c depends on the input API, meaning that vmlinuz can not link. So: add depends on INPUT too at the HID level, to ensure that if INPUT=m, HID can only be m or disabled. Fixes: 25621bcc8976 ("HID: Kconfig: split HID support and hid-core compilation") Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/r/202211181742.QYJY6Gug-lkp@intel.com Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'samples/hid/hid_surface_dial.c')
0 files changed, 0 insertions, 0 deletions