mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
HID: Allow HID_BATTERY_STRENGTH to be enabled
Allows for HID_BATTERY_STRENGTH config be enabled without the need for HID module to be built-in, prior to this HID and POWER_SUPPLY had to be equal, and now we only select POWER_SUPPLY and depend on the HID module. Signed-off-by: Daniel Nicoletti <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
parent
5b44c53aeb
commit
060c998251
1 changed files with 2 additions and 1 deletions
|
|
@ -27,7 +27,8 @@ if HID
|
|||
|
||||
config HID_BATTERY_STRENGTH
|
||||
bool "Battery level reporting for HID devices"
|
||||
depends on HID && POWER_SUPPLY && HID = POWER_SUPPLY
|
||||
depends on HID
|
||||
select POWER_SUPPLY
|
||||
default n
|
||||
---help---
|
||||
This option adds support of reporting battery strength (for HID devices
|
||||
|
|
|
|||
Loading…
Reference in a new issue