Re: Controlling Driver Load Order

From: Linus Walleij
Date: Wed May 26 2010 - 17:04:54 EST


2010/5/26 Linus Walleij <linus.ml.walleij@xxxxxxxxx>:
> 2010/5/26 Robert Emanuele <rob@xxxxxxxxxxx>:
>
>> 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().

No, sorry that will probably not work.

I meant subsystem_initcall().

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/