Hi, In a kernel driver code, I see it has 'module_init(jpeg_init)' and 'module_exit(jpeg_exit)'. I would like how know how will jpeg_init(void) gets call during kernel bring up. As an example: static int __init jpeg_init(void) { printk(KERN_CRIT "Initialize JPEG driver\n"); platform_driver_register(&jpeg_driver); return 0; } static void __exit jpeg_exit(void) { platform_driver_unregister(&jpeg_driver); } module_init(jpeg_init); module_exit(jpeg_exit); Thank you. _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies