Skip to content

Commit

Permalink
HID: Allow HID_BATTERY_STRENGTH to be enabled
Browse files Browse the repository at this point in the history
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 <dantti12@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Daniel Nicoletti authored and Jiri Kosina committed Dec 17, 2014
1 parent 5b44c53 commit 060c998
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/hid/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 060c998

Please sign in to comment.