Subject: Re: Drivers' probe function calling order

From: Alessandro Rubini <[email-masked]>
Date: Thu, 3 Jan 2008 22:54:56 +0100

> how can I force the system to call
> probe function of the spi driver first?

You can declare their init functions at different initcall level.  For
example declaring the dataflash one as late_initcall(). Or declare
the spi one as subsys_initcall() -- whatever makes more sense.

There might be cleaner ways according to your setup, but this will
surely work.

/alessandro