]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb08bafaa732c00d8ac17bf7c03fbe4aa9f761e2
tree60b25f7ece8d118b002b1c70b52e653ef7effd85
parentd28c3ce3dc62b1df79f4e7b2967bc583b25aef2d
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