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 <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Dmitry Torokhov and committed by Linus Torvalds b082dff3 54af3bb5

+1 -1
+1 -1
drivers/input/joystick/Kconfig
··· 277 277 278 278 config JOYSTICK_XPAD_LEDS 279 279 bool "LED Support for Xbox360 controller 'BigX' LED" 280 - depends on LEDS_CLASS && JOYSTICK_XPAD 280 + depends on JOYSTICK_XPAD && (LEDS_CLASS=y || LEDS_CLASS=JOYSTICK_XPAD) 281 281 ---help--- 282 282 This option enables support for the LED which surrounds the Big X on 283 283 XBox 360 controller.