trivial: media/omap: adding __init/__exit macros to lcd_drivers
Trivial patch which adds the __init and __exit macros to the module_init / module_exit functions to several files in drivers/video/omap/ Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
@ -124,12 +124,12 @@ struct platform_driver h3_panel_driver = {
|
||||
},
|
||||
};
|
||||
|
||||
static int h3_panel_drv_init(void)
|
||||
static int __init h3_panel_drv_init(void)
|
||||
{
|
||||
return platform_driver_register(&h3_panel_driver);
|
||||
}
|
||||
|
||||
static void h3_panel_drv_cleanup(void)
|
||||
static void __exit h3_panel_drv_cleanup(void)
|
||||
{
|
||||
platform_driver_unregister(&h3_panel_driver);
|
||||
}
|
||||
|
Reference in New Issue
Block a user