From: Dmitry Torokhov Date: Thu, 27 Sep 2007 04:09:29 +0000 (-0400) Subject: Input: xpad - fix dependancy on LEDS class X-Git-Tag: v2.6.23-rc9~18 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b082dff349e0a9374d19765f17b3fdceb74fda56;p=linux-2.6-omap-h63xx.git Input: xpad - fix dependancy on LEDS class Input: xpad - fix dependancy on LEDS class The driver can not be built-in when LEDS class is a module. Signed-off-by: Dmitry Torokhov Signed-off-by: Linus Torvalds --- diff --git a/drivers/input/joystick/Kconfig b/drivers/input/joystick/Kconfig index e2abe18e575..7c662ee594a 100644 --- a/drivers/input/joystick/Kconfig +++ b/drivers/input/joystick/Kconfig @@ -277,7 +277,7 @@ config JOYSTICK_XPAD_FF config JOYSTICK_XPAD_LEDS bool "LED Support for Xbox360 controller 'BigX' LED" - depends on LEDS_CLASS && JOYSTICK_XPAD + depends on JOYSTICK_XPAD && (LEDS_CLASS=y || LEDS_CLASS=JOYSTICK_XPAD) ---help--- This option enables support for the LED which surrounds the Big X on XBox 360 controller.