aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/trident/trident.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/trident/trident.c')
-rw-r--r--sound/pci/trident/trident.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/sound/pci/trident/trident.c b/sound/pci/trident/trident.c
index 5f1def7f45e5..611983ec7321 100644
--- a/sound/pci/trident/trident.c
+++ b/sound/pci/trident/trident.c
@@ -172,7 +172,7 @@ static void __devexit snd_trident_remove(struct pci_dev *pci)
172 pci_set_drvdata(pci, NULL); 172 pci_set_drvdata(pci, NULL);
173} 173}
174 174
175static struct pci_driver driver = { 175static struct pci_driver trident_driver = {
176 .name = KBUILD_MODNAME, 176 .name = KBUILD_MODNAME,
177 .id_table = snd_trident_ids, 177 .id_table = snd_trident_ids,
178 .probe = snd_trident_probe, 178 .probe = snd_trident_probe,
@@ -183,15 +183,4 @@ static struct pci_driver driver = {
183#endif 183#endif
184}; 184};
185 185
186static int __init alsa_card_trident_init(void) 186module_pci_driver(trident_driver);
187{
188 return pci_register_driver(&driver);
189}
190
191static void __exit alsa_card_trident_exit(void)
192{
193 pci_unregister_driver(&driver);
194}
195
196module_init(alsa_card_trident_init)
197module_exit(alsa_card_trident_exit)