]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: pass usb interface to comedi_usb_auto_config
authorIan Abbott <abbotti@mev.co.uk>
Fri, 30 Mar 2012 16:14:59 +0000 (17:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 18:21:10 +0000 (11:21 -0700)
commitd8b6ca0850c558f21989d468801ad1414b1372c4
treec61811ced9f5305d1a36203b58ee1367c405db7e
parentc43435d7722134ed1fda58ce1025f41029bd58ad
staging: comedi: pass usb interface to comedi_usb_auto_config

The comedi_usb_auto_config() and comedi_usb_auto_unconfig() functions
currently take a 'struct usb_device *'.  It makes more sense to pass a
'struct usb_interface *' to allow for composite USB devices.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedidev.h
drivers/staging/comedi/drivers.c
drivers/staging/comedi/drivers/usbdux.c
drivers/staging/comedi/drivers/usbduxfast.c
drivers/staging/comedi/drivers/usbduxsigma.c
drivers/staging/comedi/drivers/vmk80xx.c