diff options
-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 1f7439955e02..319a9a2bc236 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 = { | |||
123 | }, | 123 | }, |
124 | }; | 124 | }; |
125 | 125 | ||
126 | static int ams_delta_panel_drv_init(void) | 126 | static int __init ams_delta_panel_drv_init(void) |
127 | { | 127 | { |
128 | return platform_driver_register(&ams_delta_panel_driver); | 128 | return platform_driver_register(&ams_delta_panel_driver); |
129 | } | 129 | } |
130 | 130 | ||
131 | static void ams_delta_panel_drv_cleanup(void) | 131 | static void __exit ams_delta_panel_drv_cleanup(void) |
132 | { | 132 | { |
133 | platform_driver_unregister(&ams_delta_panel_driver); | 133 | platform_driver_unregister(&ams_delta_panel_driver); |
134 | } | 134 | } |
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 | } |