Controlling Driver Load Order
Wolfram Sang
w.sang at pengutronix.de
Wed May 26 19:52:46 EDT 2010
On Wed, May 26, 2010 at 11:04:01PM +0200, Linus Walleij wrote:
> 2010/5/26 Robert Emanuele <rob at emanuele.us>:
>
> > On my at91sam9g45 platform I need my i2c drivers to load before the
> > framebuffer driver. The i2c drivers control a power management IC
> > which is needed to enable the graphics controller.
> >
> > Is there a way to set up that order?
>
> The usual trick (which you can find in a lot of other I2C busses) is to use
> a core_initcall() instead of module_init().
Correct, but it's subsys_initcall().
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100527/7c89b860/attachment.sig>
More information about the linux-arm-kernel
mailing list