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:
@@ -108,12 +108,12 @@ struct platform_driver palmte_panel_driver = {
|
||||
},
|
||||
};
|
||||
|
||||
static int palmte_panel_drv_init(void)
|
||||
static int __init palmte_panel_drv_init(void)
|
||||
{
|
||||
return platform_driver_register(&palmte_panel_driver);
|
||||
}
|
||||
|
||||
static void palmte_panel_drv_cleanup(void)
|
||||
static void __exit palmte_panel_drv_cleanup(void)
|
||||
{
|
||||
platform_driver_unregister(&palmte_panel_driver);
|
||||
}
|
||||
|
Reference in New Issue
Block a user