diff options
Diffstat (limited to 'drivers/media/video/mt9v032.c')
-rw-r--r-- | drivers/media/video/mt9v032.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/mt9v032.c b/drivers/media/video/mt9v032.c index d90b982cc218..75e253a343c5 100644 --- a/drivers/media/video/mt9v032.c +++ b/drivers/media/video/mt9v032.c | |||
@@ -756,18 +756,7 @@ static struct i2c_driver mt9v032_driver = { | |||
756 | .id_table = mt9v032_id, | 756 | .id_table = mt9v032_id, |
757 | }; | 757 | }; |
758 | 758 | ||
759 | static int __init mt9v032_init(void) | 759 | module_i2c_driver(mt9v032_driver); |
760 | { | ||
761 | return i2c_add_driver(&mt9v032_driver); | ||
762 | } | ||
763 | |||
764 | static void __exit mt9v032_exit(void) | ||
765 | { | ||
766 | i2c_del_driver(&mt9v032_driver); | ||
767 | } | ||
768 | |||
769 | module_init(mt9v032_init); | ||
770 | module_exit(mt9v032_exit); | ||
771 | 760 | ||
772 | MODULE_DESCRIPTION("Aptina MT9V032 Camera driver"); | 761 | MODULE_DESCRIPTION("Aptina MT9V032 Camera driver"); |
773 | MODULE_AUTHOR("Laurent Pinchart <laurent.pinchart@ideasonboard.com>"); | 762 | MODULE_AUTHOR("Laurent Pinchart <laurent.pinchart@ideasonboard.com>"); |