On Fri, 11 Jan 2008, Oliver Neukum wrote: > > Do you have the SCSI core configured to build as a module? If you do > > then you won't be able to call any of its routines from code that's > > built into the main kernel. > > (***censored***) Yes, you are right.
I didn't envision anyone calling scsi_autosuspend_device() from outside the SCSI core or the upper-level drivers. That's why the declaration is in a private include file (scsi_priv.h). If you need to call any of those routines from the block core, you may want to move the declarations to a more public location. (Although to get it to work with the block core, you'll probably have to make much more far-reaching changes anyway.) Alan Stern - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html