diff options
Diffstat (limited to 'drivers/media/video/ks0127.c')
-rw-r--r-- | drivers/media/video/ks0127.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/ks0127.c b/drivers/media/video/ks0127.c index afa91182b448..ee7ca2dcca2f 100644 --- a/drivers/media/video/ks0127.c +++ b/drivers/media/video/ks0127.c | |||
@@ -721,15 +721,4 @@ static struct i2c_driver ks0127_driver = { | |||
721 | .id_table = ks0127_id, | 721 | .id_table = ks0127_id, |
722 | }; | 722 | }; |
723 | 723 | ||
724 | static __init int init_ks0127(void) | 724 | module_i2c_driver(ks0127_driver); |
725 | { | ||
726 | return i2c_add_driver(&ks0127_driver); | ||
727 | } | ||
728 | |||
729 | static __exit void exit_ks0127(void) | ||
730 | { | ||
731 | i2c_del_driver(&ks0127_driver); | ||
732 | } | ||
733 | |||
734 | module_init(init_ks0127); | ||
735 | module_exit(exit_ks0127); | ||