aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap/lcd_mipid.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/omap/lcd_mipid.c')
-rw-r--r--drivers/video/omap/lcd_mipid.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/video/omap/lcd_mipid.c b/drivers/video/omap/lcd_mipid.c
index 8d546dd55e81..e3880c4a0bb1 100644
--- a/drivers/video/omap/lcd_mipid.c
+++ b/drivers/video/omap/lcd_mipid.c
@@ -609,19 +609,7 @@ static struct spi_driver mipid_spi_driver = {
609 .remove = __devexit_p(mipid_spi_remove), 609 .remove = __devexit_p(mipid_spi_remove),
610}; 610};
611 611
612static int __init mipid_drv_init(void) 612module_spi_driver(mipid_spi_driver);
613{
614 spi_register_driver(&mipid_spi_driver);
615
616 return 0;
617}
618module_init(mipid_drv_init);
619
620static void __exit mipid_drv_cleanup(void)
621{
622 spi_unregister_driver(&mipid_spi_driver);
623}
624module_exit(mipid_drv_cleanup);
625 613
626MODULE_DESCRIPTION("MIPI display driver"); 614MODULE_DESCRIPTION("MIPI display driver");
627MODULE_LICENSE("GPL"); 615MODULE_LICENSE("GPL");