提交 3f6db50f 编写于 作者: P Peter Huewe 提交者: Jiri Kosina

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: NPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 411c9403
......@@ -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);
}
......
......@@ -102,12 +102,12 @@ static struct platform_driver h4_panel_driver = {
},
};
static int h4_panel_drv_init(void)
static int __init h4_panel_drv_init(void)
{
return platform_driver_register(&h4_panel_driver);
}
static void h4_panel_drv_cleanup(void)
static void __exit h4_panel_drv_cleanup(void)
{
platform_driver_unregister(&h4_panel_driver);
}
......
......@@ -109,12 +109,12 @@ struct platform_driver innovator1510_panel_driver = {
},
};
static int innovator1510_panel_drv_init(void)
static int __init innovator1510_panel_drv_init(void)
{
return platform_driver_register(&innovator1510_panel_driver);
}
static void innovator1510_panel_drv_cleanup(void)
static void __exit innovator1510_panel_drv_cleanup(void)
{
platform_driver_unregister(&innovator1510_panel_driver);
}
......
......@@ -133,12 +133,12 @@ struct platform_driver innovator1610_panel_driver = {
},
};
static int innovator1610_panel_drv_init(void)
static int __init innovator1610_panel_drv_init(void)
{
return platform_driver_register(&innovator1610_panel_driver);
}
static void innovator1610_panel_drv_cleanup(void)
static void __exit innovator1610_panel_drv_cleanup(void)
{
platform_driver_unregister(&innovator1610_panel_driver);
}
......
......@@ -127,12 +127,12 @@ struct platform_driver osk_panel_driver = {
},
};
static int osk_panel_drv_init(void)
static int __init osk_panel_drv_init(void)
{
return platform_driver_register(&osk_panel_driver);
}
static void osk_panel_drv_cleanup(void)
static void __exit osk_panel_drv_cleanup(void)
{
platform_driver_unregister(&osk_panel_driver);
}
......
......@@ -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);
}
......
......@@ -113,12 +113,12 @@ struct platform_driver palmtt_panel_driver = {
},
};
static int palmtt_panel_drv_init(void)
static int __init palmtt_panel_drv_init(void)
{
return platform_driver_register(&palmtt_panel_driver);
}
static void palmtt_panel_drv_cleanup(void)
static void __exit palmtt_panel_drv_cleanup(void)
{
platform_driver_unregister(&palmtt_panel_driver);
}
......
......@@ -109,12 +109,12 @@ struct platform_driver palmz71_panel_driver = {
},
};
static int palmz71_panel_drv_init(void)
static int __init palmz71_panel_drv_init(void)
{
return platform_driver_register(&palmz71_panel_driver);
}
static void palmz71_panel_drv_cleanup(void)
static void __exit palmz71_panel_drv_cleanup(void)
{
platform_driver_unregister(&palmz71_panel_driver);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册