Commit 060c9982 authored by Daniel Nicoletti's avatar Daniel Nicoletti Committed by Jiri Kosina

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: default avatarDaniel Nicoletti <dantti12@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 5b44c53a
...@@ -27,7 +27,8 @@ if HID ...@@ -27,7 +27,8 @@ if HID
config HID_BATTERY_STRENGTH config HID_BATTERY_STRENGTH
bool "Battery level reporting for HID devices" bool "Battery level reporting for HID devices"
depends on HID && POWER_SUPPLY && HID = POWER_SUPPLY depends on HID
select POWER_SUPPLY
default n default n
---help--- ---help---
This option adds support of reporting battery strength (for HID devices This option adds support of reporting battery strength (for HID devices
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment