diff options
Diffstat (limited to 'drivers/media/video/mt9t001.c')
-rw-r--r-- | drivers/media/video/mt9t001.c | 13 |
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 | ||
820 | static int __init mt9t001_init(void) | 820 | module_i2c_driver(mt9t001_driver); |
821 | { | ||
822 | return i2c_add_driver(&mt9t001_driver); | ||
823 | } | ||
824 | |||
825 | static void __exit mt9t001_exit(void) | ||
826 | { | ||
827 | i2c_del_driver(&mt9t001_driver); | ||
828 | } | ||
829 | |||
830 | module_init(mt9t001_init); | ||
831 | module_exit(mt9t001_exit); | ||
832 | 821 | ||
833 | MODULE_DESCRIPTION("Aptina (Micron) MT9T001 Camera driver"); | 822 | MODULE_DESCRIPTION("Aptina (Micron) MT9T001 Camera driver"); |
834 | MODULE_AUTHOR("Laurent Pinchart <laurent.pinchart@ideasonboard.com>"); | 823 | MODULE_AUTHOR("Laurent Pinchart <laurent.pinchart@ideasonboard.com>"); |