aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap/lcd_osk.c
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2009-07-03 14:39:40 +0200
committerJiri Kosina <jkosina@suse.cz>2009-09-21 15:14:54 +0200
commit3f6db50f1ebc4fa797445dd89af7211cafc52a92 (patch)
tree8b91826651b202b20b33e1f4aba702deaeaa3533 /drivers/video/omap/lcd_osk.c
parenttrivial: fix typo "for for" in multiple files (diff)
downloadlinux-dev-3f6db50f1ebc4fa797445dd89af7211cafc52a92.tar.xz
linux-dev-3f6db50f1ebc4fa797445dd89af7211cafc52a92.zip
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>
Diffstat (limited to 'drivers/video/omap/lcd_osk.c')
-rw-r--r--drivers/video/omap/lcd_osk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap/lcd_osk.c b/drivers/video/omap/lcd_osk.c
index 379c96d36da5..b3fa88bc6269 100644
--- a/drivers/video/omap/lcd_osk.c
+++ b/drivers/video/omap/lcd_osk.c
@@ -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);
}