Skip to content

Commit 0c0faa2

Browse files
Binary-EaterJiri Kosina
authored andcommitted
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: 3ab196f ("HID: nvidia-shield: Add battery support for Thunderstrike") Signed-off-by: Rahul Rameshbabu <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent ffe3b78 commit 0c0faa2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/hid/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,7 @@ config HID_NVIDIA_SHIELD
800800
depends on USB_HID
801801
depends on BT_HIDP
802802
depends on LEDS_CLASS
803+
select POWER_SUPPLY
803804
help
804805
Support for NVIDIA SHIELD accessories.
805806

0 commit comments

Comments
 (0)