int ifnum;
/* interface structure in 2.6 */
struct usb_interface *interface;
- /* comedi device for the interrupt context */
- struct comedi_device *comedidev;
/* is it USB_SPEED_HIGH or not? */
short int high_speed;
/* asynchronous command is running */
sema_init(&devpriv->sem, 1);
- devpriv->comedidev = dev;
devpriv->usbdev = usb;
devpriv->interface = intf;
devpriv->ifnum = intf->altsetting->desc.bInterfaceNumber;
usbdux_free_usb_buffers(devpriv);
- devpriv->comedidev = NULL;
-
up(&devpriv->sem);
}
}