aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/radio-tea5764.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/radio/radio-tea5764.c')
-rw-r--r--drivers/media/radio/radio-tea5764.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/drivers/media/radio/radio-tea5764.c b/drivers/media/radio/radio-tea5764.c
index db20904d01f0..6b1fae32b483 100644
--- a/drivers/media/radio/radio-tea5764.c
+++ b/drivers/media/radio/radio-tea5764.c
@@ -575,21 +575,7 @@ static struct i2c_driver tea5764_i2c_driver = {
575 .id_table = tea5764_id, 575 .id_table = tea5764_id,
576}; 576};
577 577
578/* init the driver */ 578module_i2c_driver(tea5764_i2c_driver);
579static int __init tea5764_init(void)
580{
581 int ret = i2c_add_driver(&tea5764_i2c_driver);
582
583 printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ": "
584 DRIVER_DESC "\n");
585 return ret;
586}
587
588/* cleanup the driver */
589static void __exit tea5764_exit(void)
590{
591 i2c_del_driver(&tea5764_i2c_driver);
592}
593 579
594MODULE_AUTHOR(DRIVER_AUTHOR); 580MODULE_AUTHOR(DRIVER_AUTHOR);
595MODULE_DESCRIPTION(DRIVER_DESC); 581MODULE_DESCRIPTION(DRIVER_DESC);
@@ -600,6 +586,3 @@ module_param(use_xtal, int, 0);
600MODULE_PARM_DESC(use_xtal, "Chip have a xtal connected in board"); 586MODULE_PARM_DESC(use_xtal, "Chip have a xtal connected in board");
601module_param(radio_nr, int, 0); 587module_param(radio_nr, int, 0);
602MODULE_PARM_DESC(radio_nr, "video4linux device number to use"); 588MODULE_PARM_DESC(radio_nr, "video4linux device number to use");
603
604module_init(tea5764_init);
605module_exit(tea5764_exit);