HID: wacom: fix build breakage without CONFIG_LEDS_CLASS
authorDavid Rientjes <rientjes@google.com>
Sun, 20 May 2012 02:11:55 +0000 (19:11 -0700)
committerJiri Kosina <jkosina@suse.cz>
Mon, 21 May 2012 13:27:47 +0000 (15:27 +0200)
CONFIG_HID_WACOM must depend on CONFIG_LEDS_CLASS, otherwise
CONFIG_NEW_LEDS may be disabled.

Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig

index 6e0d65aca3087eb23b72d7aaa22ef6e559f99f2d..81b13e41a0c5d6fa213a3945080b597f13ec13ad 100644 (file)
@@ -595,8 +595,8 @@ config THRUSTMASTER_FF
 config HID_WACOM
        tristate "Wacom Bluetooth devices support"
        depends on BT_HIDP
+       depends on LEDS_CLASS
        select POWER_SUPPLY
-       select LEDS_CLASS
        ---help---
        Support for Wacom Graphire Bluetooth and Intuos4 WL tablets.