aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ov5642.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/ov5642.c')
-rw-r--r--drivers/media/video/ov5642.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/ov5642.c b/drivers/media/video/ov5642.c
index bb37ec80f274..80e07794ac8e 100644
--- a/drivers/media/video/ov5642.c
+++ b/drivers/media/video/ov5642.c
@@ -1068,18 +1068,7 @@ static struct i2c_driver ov5642_i2c_driver = {
1068 .id_table = ov5642_id, 1068 .id_table = ov5642_id,
1069}; 1069};
1070 1070
1071static int __init ov5642_mod_init(void) 1071module_i2c_driver(ov5642_i2c_driver);
1072{
1073 return i2c_add_driver(&ov5642_i2c_driver);
1074}
1075
1076static void __exit ov5642_mod_exit(void)
1077{
1078 i2c_del_driver(&ov5642_i2c_driver);
1079}
1080
1081module_init(ov5642_mod_init);
1082module_exit(ov5642_mod_exit);
1083 1072
1084MODULE_DESCRIPTION("Omnivision OV5642 Camera driver"); 1073MODULE_DESCRIPTION("Omnivision OV5642 Camera driver");
1085MODULE_AUTHOR("Bastian Hecht <hechtb@gmail.com>"); 1074MODULE_AUTHOR("Bastian Hecht <hechtb@gmail.com>");