LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   why subsys_initcall? (https://www.linuxquestions.org/questions/programming-9/why-subsys_initcall-748298/)

linux_newbie79 08-17-2009 09:18 PM

why subsys_initcall?
 
Hi,

I am migrating my device specific architecture codes from 2.6.26.3 version to 2.6.30.

pxa i2c driver was not added and after changing subsys_initcall to module_init, i2c driver is registered and things are working fine.

why subsys_initcall needed? for my code to work with it, do I need to enable flags in menuconfig?

please advice.

Thanking You


All times are GMT -5. The time now is 01:49 AM.