Every driver has an entry point function, minimaly defined as: static __init mydriver_init( void ) { return platform_driver_register(&my_driver); } module_init(mydriver_init); The __init macro is used to describe the function as only being required during initialisation time, so that the kernel can remove this function and release its memory after initialization. To recover memory used by [...]
-
« Home
Pages
-
RSS Feeds