diff options
Diffstat (limited to 'drivers/media/video/ov2640.c')
-rw-r--r-- | drivers/media/video/ov2640.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/media/video/ov2640.c b/drivers/media/video/ov2640.c index b5247cb64fde..3c2c5d3bcc6b 100644 --- a/drivers/media/video/ov2640.c +++ b/drivers/media/video/ov2640.c | |||
@@ -1103,21 +1103,7 @@ static struct i2c_driver ov2640_i2c_driver = { | |||
1103 | .id_table = ov2640_id, | 1103 | .id_table = ov2640_id, |
1104 | }; | 1104 | }; |
1105 | 1105 | ||
1106 | /* | 1106 | module_i2c_driver(ov2640_i2c_driver); |
1107 | * Module functions | ||
1108 | */ | ||
1109 | static int __init ov2640_module_init(void) | ||
1110 | { | ||
1111 | return i2c_add_driver(&ov2640_i2c_driver); | ||
1112 | } | ||
1113 | |||
1114 | static void __exit ov2640_module_exit(void) | ||
1115 | { | ||
1116 | i2c_del_driver(&ov2640_i2c_driver); | ||
1117 | } | ||
1118 | |||
1119 | module_init(ov2640_module_init); | ||
1120 | module_exit(ov2640_module_exit); | ||
1121 | 1107 | ||
1122 | MODULE_DESCRIPTION("SoC Camera driver for Omni Vision 2640 sensor"); | 1108 | MODULE_DESCRIPTION("SoC Camera driver for Omni Vision 2640 sensor"); |
1123 | MODULE_AUTHOR("Alberto Panizzo"); | 1109 | MODULE_AUTHOR("Alberto Panizzo"); |