aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ov2640.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/ov2640.c')
-rw-r--r--drivers/media/video/ov2640.c16
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/* 1106module_i2c_driver(ov2640_i2c_driver);
1107 * Module functions
1108 */
1109static int __init ov2640_module_init(void)
1110{
1111 return i2c_add_driver(&ov2640_i2c_driver);
1112}
1113
1114static void __exit ov2640_module_exit(void)
1115{
1116 i2c_del_driver(&ov2640_i2c_driver);
1117}
1118
1119module_init(ov2640_module_init);
1120module_exit(ov2640_module_exit);
1121 1107
1122MODULE_DESCRIPTION("SoC Camera driver for Omni Vision 2640 sensor"); 1108MODULE_DESCRIPTION("SoC Camera driver for Omni Vision 2640 sensor");
1123MODULE_AUTHOR("Alberto Panizzo"); 1109MODULE_AUTHOR("Alberto Panizzo");