aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-ps3remote.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2013-05-28 11:22:09 +0200
committerJiri Kosina <jkosina@suse.cz>2013-05-28 11:22:09 +0200
commit40e32ee6e475852f532c847ed1804b87f6531a67 (patch)
treec82f929072fbd08bac483df64b3207882d61536f /drivers/hid/hid-ps3remote.c
parentHID: driver for PS2/3 Buzz controllers (diff)
downloadlinux-dev-40e32ee6e475852f532c847ed1804b87f6531a67.tar.xz
linux-dev-40e32ee6e475852f532c847ed1804b87f6531a67.zip
HID: sony: fix leds dependency
The newly added support for Buzz controller - introduced Kconfig selection of LEDS_CLASS - introduced conditional preprocessor checking for CONFIG_LEDS_CLASS This has multiple problems -- namely select doesn't work transitively, so it shouldn't be used. On the other hand the code assumed that LEDS_CLASS is enabled in some places, but not everywhere. Put LEDS_CLASS as a Kconfig dependency for hid-sony and remove all the CONFIG_LEDS_CLASS conditionals from hid-sony. Reported-by: fengguang.wu@intel.com Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-ps3remote.c')
0 files changed, 0 insertions, 0 deletions