diff options
Diffstat (limited to 'sound/pci/ice1712/ice1724.c')
-rw-r--r-- | sound/pci/ice1712/ice1724.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c index 812d10e43ae0..a01a00d1cf4d 100644 --- a/sound/pci/ice1712/ice1724.c +++ b/sound/pci/ice1712/ice1724.c | |||
@@ -2873,7 +2873,7 @@ static int snd_vt1724_resume(struct pci_dev *pci) | |||
2873 | } | 2873 | } |
2874 | #endif | 2874 | #endif |
2875 | 2875 | ||
2876 | static struct pci_driver driver = { | 2876 | static struct pci_driver vt1724_driver = { |
2877 | .name = KBUILD_MODNAME, | 2877 | .name = KBUILD_MODNAME, |
2878 | .id_table = snd_vt1724_ids, | 2878 | .id_table = snd_vt1724_ids, |
2879 | .probe = snd_vt1724_probe, | 2879 | .probe = snd_vt1724_probe, |
@@ -2884,15 +2884,4 @@ static struct pci_driver driver = { | |||
2884 | #endif | 2884 | #endif |
2885 | }; | 2885 | }; |
2886 | 2886 | ||
2887 | static int __init alsa_card_ice1724_init(void) | 2887 | module_pci_driver(vt1724_driver); |
2888 | { | ||
2889 | return pci_register_driver(&driver); | ||
2890 | } | ||
2891 | |||
2892 | static void __exit alsa_card_ice1724_exit(void) | ||
2893 | { | ||
2894 | pci_unregister_driver(&driver); | ||
2895 | } | ||
2896 | |||
2897 | module_init(alsa_card_ice1724_init) | ||
2898 | module_exit(alsa_card_ice1724_exit) | ||