diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2009-09-28 21:18:06 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-11-09 03:40:55 -0500 |
commit | b89ea90d402c13c8dd4d5dfc8d4a0b6efc5492df (patch) | |
tree | e409b20860baa2c2575671e9da3aa7b528f706ec /drivers/video/omap/lcd_mipid.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_mipid.c')
-rw-r--r-- | drivers/video/omap/lcd_mipid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap/lcd_mipid.c b/drivers/video/omap/lcd_mipid.c index 918ee8934196..d88a7928b341 100644 --- a/drivers/video/omap/lcd_mipid.c +++ b/drivers/video/omap/lcd_mipid.c | |||
@@ -607,7 +607,7 @@ static struct spi_driver mipid_spi_driver = { | |||
607 | .remove = __devexit_p(mipid_spi_remove), | 607 | .remove = __devexit_p(mipid_spi_remove), |
608 | }; | 608 | }; |
609 | 609 | ||
610 | static int mipid_drv_init(void) | 610 | static int __init mipid_drv_init(void) |
611 | { | 611 | { |
612 | spi_register_driver(&mipid_spi_driver); | 612 | spi_register_driver(&mipid_spi_driver); |
613 | 613 | ||
@@ -615,7 +615,7 @@ static int mipid_drv_init(void) | |||
615 | } | 615 | } |
616 | module_init(mipid_drv_init); | 616 | module_init(mipid_drv_init); |
617 | 617 | ||
618 | static void mipid_drv_cleanup(void) | 618 | static void __exit mipid_drv_cleanup(void) |
619 | { | 619 | { |
620 | spi_unregister_driver(&mipid_spi_driver); | 620 | spi_unregister_driver(&mipid_spi_driver); |
621 | } | 621 | } |