From: Jiri Kosina Date: Tue, 28 May 2013 09:22:09 +0000 (+0200) Subject: HID: sony: fix leds dependency X-Git-Tag: v3.11-rc1~90^2~1^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40e32ee6e475852f532c847ed1804b87f6531a67;p=pandora-kernel.git 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 --- Reading git-diff-tree failed