Hi David On Mon, Apr 11, 2011 at 10:04 PM, David Shwatrz <dshwatrz@xxxxxxxxx> wrote: > HI, > The macros module_init() and module_exit() are used both in case > a source is built-in (the code is called from the init stage) or as a > kernel module (implementing a init_module symbol). > > In case 2 of /built-in/ modules I am wondering if it is > possible to know by advance the order used to call the various > module_init() entry points. Is it possible to fix this order? > rgs, If I recall correctly, the order is given by the Makefile, so to have a driver being initialized before another one, you have to remangle your Makefile tree to match the order you want. Hope it helps. bye -- -gaspa- _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies