On Sun, Nov 6, 2016, 5:35 PM Greg KH <greg@kroah.com> wrote:
On Thu, Nov 03, 2016 at 03:29:59AM +0800, Hao Zhang wrote:
> hi, what's the sequence of the built in kernel module be probed?

Link order.

> and how to change it ?

Change the order in which the modules are linked by moving their
location in the Makefile.

http://lxr.free-electrons.com/source/Documentation/kbuild/kbuild.txt
There is a modules.order file which records the order of modules in the
Makefile.
Hope this helps,

greg k-h

A kernel newbie,
Amit Kumar
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies