diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2023-09-14 03:05:17 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2023-09-18 17:55:32 +0300 |
commit | 058574879853260a22bbec1f94221dfc5149d85c (patch) | |
tree | 904c982a87e1bb73fee882ad4e9acc6819138c69 /drivers/hid/hid-holtek-kbd.c | |
parent | 2d866603e25b1ce7e536839f62d1faae1c03d92f (diff) | |
download | linux-058574879853260a22bbec1f94221dfc5149d85c.tar.xz |
HID: nvidia-shield: add LEDS_CLASS dependency
The hid-nvidia-shield driver uses functions that are built
only when LEDS_CLASS is set, so make the driver depend on that
symbol to prevent build errors.
riscv32-linux-ld: drivers/hid/hid-nvidia-shield.o: in function `.L11':
hid-nvidia-shield.c:(.text+0x192): undefined reference to `led_classdev_unregister'
riscv32-linux-ld: drivers/hid/hid-nvidia-shield.o: in function `.L113':
hid-nvidia-shield.c:(.text+0xfa4): undefined reference to `led_classdev_register_ext'
Fixes: 09308562d4af ("HID: nvidia-shield: Initial driver implementation with Thunderstrike support")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: linux-input@vger.kernel.org
Reviewed-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-holtek-kbd.c')
0 files changed, 0 insertions, 0 deletions