Hi Wen,

On Fri, 26 Jun 2009 10:41:07 +0800, Wang, Wen W wrote:
> Hi Jean,
> 
> Really appreciate your kindly comments on Moorestown I2C driver! I'm really 
> learning a lot from your comments. :)
> 
> Currently I'm working on those comments, but due to other plenty of work, 
> please expect a slow response on that. :(
> 
> Another thing needs your help is, can I replace the module_init() function 
> with subsys_initcall() in Moorestown I2C driver? Is it acceptable for I2C 
> subsystem? 

Yes, using subsys_initcall() is acceptable, a number of i2c bus drivers
for embedded platforms do that already (i2c-pxa and i2c-omap.c for
example.)

> There is a requirement in Moorestown that certain drivers need I2C driver 
> loaded before those drivers. To achieve this, is subsys_initcall() the only 
> way?

I can't say whether this is the only way given than you mentioned no
detail about the requirements, but this is one possible way for sure.

-- 
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to