aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRahul Rameshbabu <rrameshbabu@nvidia.com>2023-09-17 08:18:50 -0700
committerJiri Kosina <jkosina@suse.cz>2023-10-04 20:48:20 +0200
commit0c0faa2946d6f8b9557689e253519e32caf8b49d (patch)
tree4f23e7935b649ff237ea5afc74e7d885e61d4439
parentffe3b7837a2bb421df84d0177481db9f52c93a71 (diff)
downloadlinux-0c0faa2946d6f8b9557689e253519e32caf8b49d.tar.gz
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 <rrameshbabu@nvidia.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index c72459d24237c0..790aa908e2a788 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.