From: Rahul Rameshbabu Date: Sun, 17 Sep 2023 15:18:50 +0000 (-0700) Subject: HID: nvidia-shield: Select POWER_SUPPLY Kconfig option X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0c0faa2946d6f8b9557689e253519e32caf8b49d;p=linux.git HID: nvidia-shield: Select POWER_SUPPLY Kconfig option Battery information reported by the driver depends on the power supply subsystem. Select the required subsystem when the HID_NVIDIA_SHIELD Kconfig option is enabled. Fixes: 3ab196f88237 ("HID: nvidia-shield: Add battery support for Thunderstrike") Signed-off-by: Rahul Rameshbabu Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index c72459d24237c..790aa908e2a78 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -800,6 +800,7 @@ config HID_NVIDIA_SHIELD depends on USB_HID depends on BT_HIDP depends on LEDS_CLASS + select POWER_SUPPLY help Support for NVIDIA SHIELD accessories.