]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
HID: Allow HID_BATTERY_STRENGTH to be enabled
authorDaniel Nicoletti <dantti12@gmail.com>
Wed, 17 Dec 2014 13:53:54 +0000 (11:53 -0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 17 Dec 2014 16:23:57 +0000 (17:23 +0100)
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>
drivers/hid/Kconfig

index 230b6f887cd86e9b4d3d4bf625166c878d5524ed..dfdc26970022998adfb951f50baacb0e4df38474 100644 (file)
@@ -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