aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ov772x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/ov772x.c')
-rw-r--r--drivers/media/video/ov772x.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/drivers/media/video/ov772x.c b/drivers/media/video/ov772x.c
index 9f6ce3d8a29e..74e77d327ed8 100644
--- a/drivers/media/video/ov772x.c
+++ b/drivers/media/video/ov772x.c
@@ -1123,22 +1123,7 @@ static struct i2c_driver ov772x_i2c_driver = {
1123 .id_table = ov772x_id, 1123 .id_table = ov772x_id,
1124}; 1124};
1125 1125
1126/* 1126module_i2c_driver(ov772x_i2c_driver);
1127 * module function
1128 */
1129
1130static int __init ov772x_module_init(void)
1131{
1132 return i2c_add_driver(&ov772x_i2c_driver);
1133}
1134
1135static void __exit ov772x_module_exit(void)
1136{
1137 i2c_del_driver(&ov772x_i2c_driver);
1138}
1139
1140module_init(ov772x_module_init);
1141module_exit(ov772x_module_exit);
1142 1127
1143MODULE_DESCRIPTION("SoC Camera driver for ov772x"); 1128MODULE_DESCRIPTION("SoC Camera driver for ov772x");
1144MODULE_AUTHOR("Kuninori Morimoto"); 1129MODULE_AUTHOR("Kuninori Morimoto");