diff options
Diffstat (limited to 'drivers/media/dvb/frontends/au8522_decoder.c')
-rw-r--r-- | drivers/media/dvb/frontends/au8522_decoder.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/dvb/frontends/au8522_decoder.c b/drivers/media/dvb/frontends/au8522_decoder.c index 2b248c12f404..55b6390198e3 100644 --- a/drivers/media/dvb/frontends/au8522_decoder.c +++ b/drivers/media/dvb/frontends/au8522_decoder.c | |||
@@ -839,15 +839,4 @@ static struct i2c_driver au8522_driver = { | |||
839 | .id_table = au8522_id, | 839 | .id_table = au8522_id, |
840 | }; | 840 | }; |
841 | 841 | ||
842 | static __init int init_au8522(void) | 842 | module_i2c_driver(au8522_driver); |
843 | { | ||
844 | return i2c_add_driver(&au8522_driver); | ||
845 | } | ||
846 | |||
847 | static __exit void exit_au8522(void) | ||
848 | { | ||
849 | i2c_del_driver(&au8522_driver); | ||
850 | } | ||
851 | |||
852 | module_init(init_au8522); | ||
853 | module_exit(exit_au8522); | ||