Hi Alan, > > In order to use usb_driver_claim_interface from outside > > probe/disconnect, a module needs to take the usb_bus_type.subsys > > write lock. But it can't because usb_bus_type is not EXPORTed. > > Is this deliberate, or an oversight? > > Sounds like an oversight to me. However this won't matter for much longer > because the bus_type.subsys rwsem is being dropped from the driver model.
thanks for replying. I'm curious: what is going to replace the bus rw semaphore? All the best, Duncan. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel