aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/joystick
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2007-10-12 21:27:47 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2007-10-12 21:27:47 -0400
commitb981d8b3f5e008ff10d993be633ad00564fc22cd (patch)
treee292dc07b22308912cf6a58354a608b9e5e8e1fd /drivers/input/joystick
parentb11d2127c4893a7315d1e16273bc8560049fa3ca (diff)
parent2b9e0aae1d50e880c58d46788e5e3ebd89d75d62 (diff)
Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts: drivers/macintosh/adbhid.c
Diffstat (limited to 'drivers/input/joystick')
-rw-r--r--drivers/input/joystick/iforce/iforce-packets.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/input/joystick/iforce/iforce-packets.c b/drivers/input/joystick/iforce/iforce-packets.c
index 3154ccd74000..45c4939ced75 100644
--- a/drivers/input/joystick/iforce/iforce-packets.c
+++ b/drivers/input/joystick/iforce/iforce-packets.c
@@ -246,13 +246,12 @@ void iforce_process_packet(struct iforce *iforce, u16 cmd, unsigned char *data)
246 246
247int iforce_get_id_packet(struct iforce *iforce, char *packet) 247int iforce_get_id_packet(struct iforce *iforce, char *packet)
248{ 248{
249 int status;
250
251 switch (iforce->bus) { 249 switch (iforce->bus) {
252 250
253 case IFORCE_USB: 251 case IFORCE_USB: {
254
255#ifdef CONFIG_JOYSTICK_IFORCE_USB 252#ifdef CONFIG_JOYSTICK_IFORCE_USB
253 int status;
254
256 iforce->cr.bRequest = packet[0]; 255 iforce->cr.bRequest = packet[0];
257 iforce->ctrl->dev = iforce->usbdev; 256 iforce->ctrl->dev = iforce->usbdev;
258 257
@@ -273,6 +272,7 @@ int iforce_get_id_packet(struct iforce *iforce, char *packet)
273#else 272#else
274 dbg("iforce_get_id_packet: iforce->bus = USB!"); 273 dbg("iforce_get_id_packet: iforce->bus = USB!");
275#endif 274#endif
275 }
276 break; 276 break;
277 277
278 case IFORCE_232: 278 case IFORCE_232: