2010/12/13 Felipe Balbi <balbi@xxxxxx>: > Hi, > > On Mon, Dec 13, 2010 at 07:46:20PM +0800, Ming Lei wrote: >> >> No, only modprobe musb-omap2430 is enough, which has been OK now in >> my beagle with this patch set. >> >> If we want to run one single binary to support multiple machines and >> if glue driver can't be built as module, we have to load all glue driver >> into >> ram, which is sure very ugly. > > glue layer's probe() won't be called as musb-XXXX won't be available. So > no resources will be used, right ? Yes, seems it should be, :-) musb-XXXX is created by arch/xx/mach-yy, so if there is no musb-XXXX, glue layer's probe() won't be called, then musb_hdrc's probe() can't be called too. Above should be reasonable and correct, right? -- Lei Ming -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html