On Fri, Apr 17, 2015 at 03:19:26PM +0800, yoma sophian wrote: > hi Greg: > > 2015-04-17 14:45 GMT+08:00 Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>: > > On Fri, Apr 17, 2015 at 09:22:02AM +0800, yoma sophian wrote: > >> hi all: > >> if we build usb driver as module, the dependence is like below: > >> usb-common.ko > >> usbcore.ko > >> ehci-hcd.ko > >> ... > >> etc. > >> if we choose build-in instead of modules, how could we make sure the > >> initial sequence is indeed followed what we expected? > > > > The linker order determines the order of the init functions. > Would you mind to let us know where and how it do so? I don't understand, what is the problem with the existing code? What are you trying to solve here? Is the linking order somehow not working properly? thanks, greg k-h -- 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