aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/rme9652/hdspm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/rme9652/hdspm.c')
-rw-r--r--sound/pci/rme9652/hdspm.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c
index bc030a2088da..0a5027b94714 100644
--- a/sound/pci/rme9652/hdspm.c
+++ b/sound/pci/rme9652/hdspm.c
@@ -6918,23 +6918,11 @@ static void __devexit snd_hdspm_remove(struct pci_dev *pci)
6918 pci_set_drvdata(pci, NULL); 6918 pci_set_drvdata(pci, NULL);
6919} 6919}
6920 6920
6921static struct pci_driver driver = { 6921static struct pci_driver hdspm_driver = {
6922 .name = KBUILD_MODNAME, 6922 .name = KBUILD_MODNAME,
6923 .id_table = snd_hdspm_ids, 6923 .id_table = snd_hdspm_ids,
6924 .probe = snd_hdspm_probe, 6924 .probe = snd_hdspm_probe,
6925 .remove = __devexit_p(snd_hdspm_remove), 6925 .remove = __devexit_p(snd_hdspm_remove),
6926}; 6926};
6927 6927
6928 6928module_pci_driver(hdspm_driver);
6929static int __init alsa_card_hdspm_init(void)
6930{
6931 return pci_register_driver(&driver);
6932}
6933
6934static void __exit alsa_card_hdspm_exit(void)
6935{
6936 pci_unregister_driver(&driver);
6937}
6938
6939module_init(alsa_card_hdspm_init)
6940module_exit(alsa_card_hdspm_exit)