diff options
Diffstat (limited to 'drivers/video/omap')
-rw-r--r-- | drivers/video/omap/lcd_ams_delta.c | 4 | ||||
-rw-r--r-- | drivers/video/omap/lcd_mipid.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/omap/lcd_ams_delta.c b/drivers/video/omap/lcd_ams_delta.c index 9340ca3c1c81..567db6ac32c8 100644 --- a/drivers/video/omap/lcd_ams_delta.c +++ b/drivers/video/omap/lcd_ams_delta.c | |||
@@ -124,12 +124,12 @@ struct platform_driver ams_delta_panel_driver = { | |||
124 | }, | 124 | }, |
125 | }; | 125 | }; |
126 | 126 | ||
127 | static int ams_delta_panel_drv_init(void) | 127 | static int __init ams_delta_panel_drv_init(void) |
128 | { | 128 | { |
129 | return platform_driver_register(&ams_delta_panel_driver); | 129 | return platform_driver_register(&ams_delta_panel_driver); |
130 | } | 130 | } |
131 | 131 | ||
132 | static void ams_delta_panel_drv_cleanup(void) | 132 | static void __exit ams_delta_panel_drv_cleanup(void) |
133 | { | 133 | { |
134 | platform_driver_unregister(&ams_delta_panel_driver); | 134 | platform_driver_unregister(&ams_delta_panel_driver); |
135 | } | 135 | } |
diff --git a/drivers/video/omap/lcd_mipid.c b/drivers/video/omap/lcd_mipid.c index 46ca90d1d177..abe1c76a3257 100644 --- a/drivers/video/omap/lcd_mipid.c +++ b/drivers/video/omap/lcd_mipid.c | |||
@@ -608,7 +608,7 @@ static struct spi_driver mipid_spi_driver = { | |||
608 | .remove = __devexit_p(mipid_spi_remove), | 608 | .remove = __devexit_p(mipid_spi_remove), |
609 | }; | 609 | }; |
610 | 610 | ||
611 | static int mipid_drv_init(void) | 611 | static int __init mipid_drv_init(void) |
612 | { | 612 | { |
613 | spi_register_driver(&mipid_spi_driver); | 613 | spi_register_driver(&mipid_spi_driver); |
614 | 614 | ||
@@ -616,7 +616,7 @@ static int mipid_drv_init(void) | |||
616 | } | 616 | } |
617 | module_init(mipid_drv_init); | 617 | module_init(mipid_drv_init); |
618 | 618 | ||
619 | static void mipid_drv_cleanup(void) | 619 | static void __exit mipid_drv_cleanup(void) |
620 | { | 620 | { |
621 | spi_unregister_driver(&mipid_spi_driver); | 621 | spi_unregister_driver(&mipid_spi_driver); |
622 | } | 622 | } |