On Thu, Sep 25, 2008 at 08:54:30AM -0500, Timur Tabi wrote: > Li Yang wrote: > > >> -subsys_initcall(of_fsl_dma_chan_init); > >> subsys_initcall(of_fsl_dma_init); > > > > Not a critical problem. But module_init() are preferred for modules. > > This was intentional. When compiled as a module, subsys_initcall becomes > module_init(). When compiled in-kernel, this code is initialized before most > drivers, so it's ready when the drivers are loaded.
If there's a dependency there, how will it work when this is built as a module? -Scott _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev