diff options
Diffstat (limited to 'drivers/media/video/rj54n1cb0c.c')
-rw-r--r-- | drivers/media/video/rj54n1cb0c.c | 13 |
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 | ||
1410 | static int __init rj54n1_mod_init(void) | 1410 | module_i2c_driver(rj54n1_i2c_driver); |
1411 | { | ||
1412 | return i2c_add_driver(&rj54n1_i2c_driver); | ||
1413 | } | ||
1414 | |||
1415 | static void __exit rj54n1_mod_exit(void) | ||
1416 | { | ||
1417 | i2c_del_driver(&rj54n1_i2c_driver); | ||
1418 | } | ||
1419 | |||
1420 | module_init(rj54n1_mod_init); | ||
1421 | module_exit(rj54n1_mod_exit); | ||
1422 | 1411 | ||
1423 | MODULE_DESCRIPTION("Sharp RJ54N1CB0C Camera driver"); | 1412 | MODULE_DESCRIPTION("Sharp RJ54N1CB0C Camera driver"); |
1424 | MODULE_AUTHOR("Guennadi Liakhovetski <g.liakhovetski@gmx.de>"); | 1413 | MODULE_AUTHOR("Guennadi Liakhovetski <g.liakhovetski@gmx.de>"); |