[PATCH] staging: comedi: usbduxfast: use attach_usb() hook

Ian Abbott abbotti at mev.co.uk
Mon Jun 18 16:21:41 UTC 2012


On 2012-06-18 17:10, H Hartley Sweeten wrote:
> On Monday, June 18, 2012 7:14 AM, Ian Abbott wrote:
>> Change the usbduxfast driver to use the new attach_usb() hook in struct
>> comedi_driver to auto-configure probed USB devices after the firmware is
>> loaded.
>>
>> Signed-off-by: Ian Abbott <abbotti at mev.co.uk>
>> ---
>>   drivers/staging/comedi/drivers/usbduxfast.c |  133 ++++++++++++++++-----------
>>   1 files changed, 79 insertions(+), 54 deletions(-)
>
> Ian,
>
> If the attach_usb callback is provided does the attach callback even
> need to be supplied?

I'm sure we've been through this before!  The attach callback is 
reachable by the COMEDI_DEVCONFIG ioctl.

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-





More information about the devel mailing list