aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ov9740.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/ov9740.c')
-rw-r--r--drivers/media/video/ov9740.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/ov9740.c b/drivers/media/video/ov9740.c
index d9a9f7174f7a..3eb07c22516e 100644
--- a/drivers/media/video/ov9740.c
+++ b/drivers/media/video/ov9740.c
@@ -998,18 +998,7 @@ static struct i2c_driver ov9740_i2c_driver = {
998 .id_table = ov9740_id, 998 .id_table = ov9740_id,
999}; 999};
1000 1000
1001static int __init ov9740_module_init(void) 1001module_i2c_driver(ov9740_i2c_driver);
1002{
1003 return i2c_add_driver(&ov9740_i2c_driver);
1004}
1005
1006static void __exit ov9740_module_exit(void)
1007{
1008 i2c_del_driver(&ov9740_i2c_driver);
1009}
1010
1011module_init(ov9740_module_init);
1012module_exit(ov9740_module_exit);
1013 1002
1014MODULE_DESCRIPTION("SoC Camera driver for OmniVision OV9740"); 1003MODULE_DESCRIPTION("SoC Camera driver for OmniVision OV9740");
1015MODULE_AUTHOR("Andrew Chew <achew@nvidia.com>"); 1004MODULE_AUTHOR("Andrew Chew <achew@nvidia.com>");