summaryrefslogtreecommitdiff
path: root/drivers/input/joystick/iforce/iforce.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-25 09:37:49 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-25 09:38:11 +0300
commit98b7fb0472f828536a7786df6bd517322c0c17dc (patch)
tree9963828250cc0bbee2a771ee62604f483f047d25 /drivers/input/joystick/iforce/iforce.h
parent94ec26c855bc675259e4f1658673f458040affd7 (diff)
downloadlinux-98b7fb0472f828536a7786df6bd517322c0c17dc.tar.xz
Input: iforce - fix oops on device disconnect
Do not try to free iforce device when we closing input device; disconnect is the only place where it should be deleted. Reported-by: Johannes Ebke <johannes.ebke@physik.uni-muenchen.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/joystick/iforce/iforce.h')
-rw-r--r--drivers/input/joystick/iforce/iforce.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/joystick/iforce/iforce.h b/drivers/input/joystick/iforce/iforce.h
index f2d91f4028ca..9f494b75848a 100644
--- a/drivers/input/joystick/iforce/iforce.h
+++ b/drivers/input/joystick/iforce/iforce.h
@@ -150,11 +150,9 @@ void iforce_serial_xmit(struct iforce *iforce);
/* iforce-usb.c */
void iforce_usb_xmit(struct iforce *iforce);
-void iforce_usb_delete(struct iforce *iforce);
/* iforce-main.c */
int iforce_init_device(struct iforce *iforce);
-void iforce_delete_device(struct iforce *iforce);
/* iforce-packets.c */
int iforce_control_playback(struct iforce*, u16 id, unsigned int);