diff options
Diffstat (limited to 'drivers/media/video/adv7343.c')
-rw-r--r-- | drivers/media/video/adv7343.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/adv7343.c b/drivers/media/video/adv7343.c index 021fab23070d..119b60401bf3 100644 --- a/drivers/media/video/adv7343.c +++ b/drivers/media/video/adv7343.c | |||
@@ -475,15 +475,4 @@ static struct i2c_driver adv7343_driver = { | |||
475 | .id_table = adv7343_id, | 475 | .id_table = adv7343_id, |
476 | }; | 476 | }; |
477 | 477 | ||
478 | static __init int init_adv7343(void) | 478 | module_i2c_driver(adv7343_driver); |
479 | { | ||
480 | return i2c_add_driver(&adv7343_driver); | ||
481 | } | ||
482 | |||
483 | static __exit void exit_adv7343(void) | ||
484 | { | ||
485 | i2c_del_driver(&adv7343_driver); | ||
486 | } | ||
487 | |||
488 | module_init(init_adv7343); | ||
489 | module_exit(exit_adv7343); | ||