aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/sonicvibes.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/sonicvibes.c')
-rw-r--r--sound/pci/sonicvibes.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/sound/pci/sonicvibes.c b/sound/pci/sonicvibes.c
index 54cc802050f7..baa9946bedf0 100644
--- a/sound/pci/sonicvibes.c
+++ b/sound/pci/sonicvibes.c
@@ -1530,22 +1530,11 @@ static void __devexit snd_sonic_remove(struct pci_dev *pci)
1530 pci_set_drvdata(pci, NULL); 1530 pci_set_drvdata(pci, NULL);
1531} 1531}
1532 1532
1533static struct pci_driver driver = { 1533static struct pci_driver sonicvibes_driver = {
1534 .name = KBUILD_MODNAME, 1534 .name = KBUILD_MODNAME,
1535 .id_table = snd_sonic_ids, 1535 .id_table = snd_sonic_ids,
1536 .probe = snd_sonic_probe, 1536 .probe = snd_sonic_probe,
1537 .remove = __devexit_p(snd_sonic_remove), 1537 .remove = __devexit_p(snd_sonic_remove),
1538}; 1538};
1539 1539
1540static int __init alsa_card_sonicvibes_init(void) 1540module_pci_driver(sonicvibes_driver);
1541{
1542 return pci_register_driver(&driver);
1543}
1544
1545static void __exit alsa_card_sonicvibes_exit(void)
1546{
1547 pci_unregister_driver(&driver);
1548}
1549
1550module_init(alsa_card_sonicvibes_init)
1551module_exit(alsa_card_sonicvibes_exit)