diff options
Diffstat (limited to 'sound/pci/ice1712/ice1712.c')
-rw-r--r-- | sound/pci/ice1712/ice1712.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c index 132a86e09d07..5be2e120a14e 100644 --- a/sound/pci/ice1712/ice1712.c +++ b/sound/pci/ice1712/ice1712.c | |||
@@ -2803,22 +2803,11 @@ static void __devexit snd_ice1712_remove(struct pci_dev *pci) | |||
2803 | pci_set_drvdata(pci, NULL); | 2803 | pci_set_drvdata(pci, NULL); |
2804 | } | 2804 | } |
2805 | 2805 | ||
2806 | static struct pci_driver driver = { | 2806 | static struct pci_driver ice1712_driver = { |
2807 | .name = KBUILD_MODNAME, | 2807 | .name = KBUILD_MODNAME, |
2808 | .id_table = snd_ice1712_ids, | 2808 | .id_table = snd_ice1712_ids, |
2809 | .probe = snd_ice1712_probe, | 2809 | .probe = snd_ice1712_probe, |
2810 | .remove = __devexit_p(snd_ice1712_remove), | 2810 | .remove = __devexit_p(snd_ice1712_remove), |
2811 | }; | 2811 | }; |
2812 | 2812 | ||
2813 | static int __init alsa_card_ice1712_init(void) | 2813 | module_pci_driver(ice1712_driver); |
2814 | { | ||
2815 | return pci_register_driver(&driver); | ||
2816 | } | ||
2817 | |||
2818 | static void __exit alsa_card_ice1712_exit(void) | ||
2819 | { | ||
2820 | pci_unregister_driver(&driver); | ||
2821 | } | ||
2822 | |||
2823 | module_init(alsa_card_ice1712_init) | ||
2824 | module_exit(alsa_card_ice1712_exit) | ||