[PATCH] i2c: sirf: move driver init from module_init to subsys_initcall

Wolfram Sang wsa at the-dreams.de
Thu May 16 05:38:49 EDT 2013


On Thu, May 16, 2013 at 10:50:07AM +0800, Barry Song wrote:
> From: Xiaomeng Hou <Xiaomeng.Hou at csr.com>
> 
> if we initilize i2c bus by module_init, there are some devices which want
> initialization earlier than i2c and could not do that in time, so move i2c
> driver initilization to subsys_initcall and make i2c ready before devices
> init.
> 
> Signed-off-by: Xiaomeng Hou <Xiaomeng.Hou at csr.com>
> Signed-off-by: Barry Song <Baohua.Song at csr.com>

What about deferred probing?




More information about the linux-arm-kernel mailing list