That'd work too ... but it assumes that long term we'd want to keep both versions. Do we really need to do that?
Well, for me the point was to have __usb_set_configuration declared in usb.h, so devio can use it.
I don't think that function should be generally available; why not just declare it in drivers/usb/core/usb.h instead?
Eventually the usb_set_configuration() declaration should be removed from <linux/usb.h> and most of its users either get fixed (like in drivers/usb/media/w9968cf.c where it's clearly wrong on several levels) or converted to use the unlocked version (while doing their own locking).
- Dave
------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
