diff options
author | Rahul Rameshbabu <rrameshbabu@nvidia.com> | 2023-09-17 18:18:50 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2023-10-04 21:48:20 +0300 |
commit | 0c0faa2946d6f8b9557689e253519e32caf8b49d (patch) | |
tree | 4f23e7935b649ff237ea5afc74e7d885e61d4439 /drivers/hid | |
parent | ffe3b7837a2bb421df84d0177481db9f52c93a71 (diff) | |
download | linux-0c0faa2946d6f8b9557689e253519e32caf8b49d.tar.xz |
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>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index c72459d24237..790aa908e2a7 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. |