LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What is the difference between subsys_initcall() and module_init()? (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-the-difference-between-subsys_initcall-and-module_init-879572/)

nithima 05-09-2011 12:12 AM

What is the difference between subsys_initcall() and module_init()?
 
Hi,

Now I 'm learning how to write linux device drivers.
And I found 'subsys_initcall()' is used in the place which module_init() should be.

What is the difference between subsys_initcall() and module_init()?
When should I use subsys_initcall() instead of module_init()?

Thank you very much.


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