aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/rj54n1cb0c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/rj54n1cb0c.c')
-rw-r--r--drivers/media/video/rj54n1cb0c.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/rj54n1cb0c.c b/drivers/media/video/rj54n1cb0c.c
index 9937386a3bae..f6419b22c258 100644
--- a/drivers/media/video/rj54n1cb0c.c
+++ b/drivers/media/video/rj54n1cb0c.c
@@ -1407,18 +1407,7 @@ static struct i2c_driver rj54n1_i2c_driver = {
1407 .id_table = rj54n1_id, 1407 .id_table = rj54n1_id,
1408}; 1408};
1409 1409
1410static int __init rj54n1_mod_init(void) 1410module_i2c_driver(rj54n1_i2c_driver);
1411{
1412 return i2c_add_driver(&rj54n1_i2c_driver);
1413}
1414
1415static void __exit rj54n1_mod_exit(void)
1416{
1417 i2c_del_driver(&rj54n1_i2c_driver);
1418}
1419
1420module_init(rj54n1_mod_init);
1421module_exit(rj54n1_mod_exit);
1422 1411
1423MODULE_DESCRIPTION("Sharp RJ54N1CB0C Camera driver"); 1412MODULE_DESCRIPTION("Sharp RJ54N1CB0C Camera driver");
1424MODULE_AUTHOR("Guennadi Liakhovetski <g.liakhovetski@gmx.de>"); 1413MODULE_AUTHOR("Guennadi Liakhovetski <g.liakhovetski@gmx.de>");