aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/imx074.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/imx074.c')
-rw-r--r--drivers/media/video/imx074.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/imx074.c b/drivers/media/video/imx074.c
index eec75bb57203..351e9bafe8fe 100644
--- a/drivers/media/video/imx074.c
+++ b/drivers/media/video/imx074.c
@@ -468,18 +468,7 @@ static struct i2c_driver imx074_i2c_driver = {
468 .id_table = imx074_id, 468 .id_table = imx074_id,
469}; 469};
470 470
471static int __init imx074_mod_init(void) 471module_i2c_driver(imx074_i2c_driver);
472{
473 return i2c_add_driver(&imx074_i2c_driver);
474}
475
476static void __exit imx074_mod_exit(void)
477{
478 i2c_del_driver(&imx074_i2c_driver);
479}
480
481module_init(imx074_mod_init);
482module_exit(imx074_mod_exit);
483 472
484MODULE_DESCRIPTION("Sony IMX074 Camera driver"); 473MODULE_DESCRIPTION("Sony IMX074 Camera driver");
485MODULE_AUTHOR("Guennadi Liakhovetski <g.liakhovetski@gmx.de>"); 474MODULE_AUTHOR("Guennadi Liakhovetski <g.liakhovetski@gmx.de>");