Commit 8598f48b authored by Vojtech Pavlik's avatar Vojtech Pavlik

Workaround to make iforce-usb.c compile with Pat Mochel's input to

standard lists conversion.
parent 7b921ba7
...@@ -179,7 +179,7 @@ void iforce_usb_delete(struct iforce* iforce) ...@@ -179,7 +179,7 @@ void iforce_usb_delete(struct iforce* iforce)
static void iforce_usb_disconnect(struct usb_device *dev, void *ptr) static void iforce_usb_disconnect(struct usb_device *dev, void *ptr)
{ {
struct iforce *iforce = ptr; struct iforce *iforce = ptr;
int open = iforce->dev.handle->open; int open = 0; /* FIXME! iforce->dev.handle->open; */
iforce->usbdev = NULL; iforce->usbdev = NULL;
input_unregister_device(&iforce->dev); input_unregister_device(&iforce->dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment