Input: xpad - fix build failure
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 27 Apr 2008 04:10:11 +0000 (00:10 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 27 Apr 2008 04:10:11 +0000 (00:10 -0400)
commit20430214cc0073dc7e817b032e32ae2ae54b4911
tree60b25f7ece8d118b002b1c70b52e653ef7effd85
parent308f0a5898033691d050374a949bbfe173987a16
Input: xpad - fix build failure

If both CONFIG_JOYSTICK_XPAD_FF and CONFIG_JOYSTICK_XPAD_LEDS are unset
xpad_bulk_out is not defined and build fails. Move it out of the #ifdef
block so it is always defined.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/joystick/xpad.c