Hi Mark, > >> +static int __init bfin_spi_init(void) >> +{ >> + return platform_driver_probe(&bfin_spi_driver, bfin_spi_probe); >> +} >> +subsys_initcall(bfin_spi_init); > > Should really use module_platform_driver() on modern systems, the > deferred probe infrastructure should remove the need for faffing around > with init order. > When I convert to use module_platform_driver(), I found some driver depend on SPI_MASTER start up before spi master probe driver. So how can I control this init order?
Thanks, Scott ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ spi-devel-general mailing list spi-devel-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spi-devel-general