aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/mt9t001.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/mt9t001.c')
-rw-r--r--drivers/media/video/mt9t001.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/mt9t001.c b/drivers/media/video/mt9t001.c
index cd81d04a529e..49ca3cbfc6f1 100644
--- a/drivers/media/video/mt9t001.c
+++ b/drivers/media/video/mt9t001.c
@@ -817,18 +817,7 @@ static struct i2c_driver mt9t001_driver = {
817 .id_table = mt9t001_id, 817 .id_table = mt9t001_id,
818}; 818};
819 819
820static int __init mt9t001_init(void) 820module_i2c_driver(mt9t001_driver);
821{
822 return i2c_add_driver(&mt9t001_driver);
823}
824
825static void __exit mt9t001_exit(void)
826{
827 i2c_del_driver(&mt9t001_driver);
828}
829
830module_init(mt9t001_init);
831module_exit(mt9t001_exit);
832 821
833MODULE_DESCRIPTION("Aptina (Micron) MT9T001 Camera driver"); 822MODULE_DESCRIPTION("Aptina (Micron) MT9T001 Camera driver");
834MODULE_AUTHOR("Laurent Pinchart <laurent.pinchart@ideasonboard.com>"); 823MODULE_AUTHOR("Laurent Pinchart <laurent.pinchart@ideasonboard.com>");