diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2009-09-29 03:18:06 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-11-09 09:40:55 +0100 |
commit | b89ea90d402c13c8dd4d5dfc8d4a0b6efc5492df (patch) | |
tree | e409b20860baa2c2575671e9da3aa7b528f706ec /drivers/video/omap/lcd_ams_delta.c | |
parent | 06fe9fb4182177fb046e6d934f80254dd90956ea (diff) |
add __init/__exit macros to omap video drivers
Trivial patch which adds the __init/__exit macros to the module_init/
module_exit functions of the following drivers in media/omap:
drivers/video/omap/lcd_ams_delta.c
drivers/video/omap/lcd_mipid.c
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/video/omap/lcd_ams_delta.c')
-rw-r--r-- | drivers/video/omap/lcd_ams_delta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap/lcd_ams_delta.c b/drivers/video/omap/lcd_ams_delta.c index 1f7439955e0..319a9a2bc23 100644 --- a/drivers/video/omap/lcd_ams_delta.c +++ b/drivers/video/omap/lcd_ams_delta.c @@ -123,12 +123,12 @@ struct platform_driver ams_delta_panel_driver = { }, }; -static int ams_delta_panel_drv_init(void) +static int __init ams_delta_panel_drv_init(void) { return platform_driver_register(&ams_delta_panel_driver); } -static void ams_delta_panel_drv_cleanup(void) +static void __exit ams_delta_panel_drv_cleanup(void) { platform_driver_unregister(&ams_delta_panel_driver); } |