What is __init?

Joy Sun joy2sun127 at gmail.com
Mon Feb 7 01:41:03 EST 2011


Hi,

I am totally newbie for kernel device driver, and starting to learn.

When I see a driver code, I found __init. For example, static int __init
xxxx(struct platform_device *pdev)

I understand "static" and "int", but what is __init?

-J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110206/11a4046d/attachment.html 


More information about the Kernelnewbies mailing list