This is a note to let you know that I've just added the patch titled HID: nvidia-shield: add LEDS_CLASS dependency to the 6.5-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: hid-nvidia-shield-add-leds_class-dependency.patch and it can be found in the queue-6.5 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit 956fcfe749d60f7dec4b9938963a20ac8b902931 Author: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Date: Wed Sep 13 17:05:17 2023 -0700 HID: nvidia-shield: add LEDS_CLASS dependency [ Upstream commit 058574879853260a22bbec1f94221dfc5149d85c ] 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@xxxxxxxxxxxxx> Cc: Rahul Rameshbabu <rrameshbabu@xxxxxxxxxx> Cc: Jiri Kosina <jkosina@xxxxxxx> Cc: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx> Cc: linux-input@xxxxxxxxxxxxxxx Reviewed-by: Rahul Rameshbabu <rrameshbabu@xxxxxxxxxx> Signed-off-by: Jiri Kosina <jkosina@xxxxxxx> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index e11c1c8036769..dc456c86e9569 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -792,6 +792,7 @@ config HID_NVIDIA_SHIELD tristate "NVIDIA SHIELD devices" depends on USB_HID depends on BT_HIDP + depends on LEDS_CLASS help Support for NVIDIA SHIELD accessories.