Skip to content

Commit

Permalink
Input: xpad - fix dependancy on LEDS class
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dmitry Torokhov authored and Linus Torvalds committed Sep 28, 2007
1 parent 54af3bb commit b082dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/joystick/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b082dff

Please sign in to comment.