trident.c (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) | trident.c (01d25d460a3b28aab537fab9a0038d1b5832ce28) |
---|---|
1/* 2 * Driver for Trident 4DWave DX/NX & SiS SI7018 Audio PCI soundcard 3 * 4 * Driver was originated by Trident <audio@tridentmicro.com> 5 * Fri Feb 19 15:55:28 MST 1999 6 * 7 * 8 * This program is free software; you can redistribute it and/or modify --- 170 unchanged lines hidden (view full) --- 179 .id_table = snd_trident_ids, 180 .probe = snd_trident_probe, 181 .remove = __devexit_p(snd_trident_remove), 182 SND_PCI_PM_CALLBACKS 183}; 184 185static int __init alsa_card_trident_init(void) 186{ | 1/* 2 * Driver for Trident 4DWave DX/NX & SiS SI7018 Audio PCI soundcard 3 * 4 * Driver was originated by Trident <audio@tridentmicro.com> 5 * Fri Feb 19 15:55:28 MST 1999 6 * 7 * 8 * This program is free software; you can redistribute it and/or modify --- 170 unchanged lines hidden (view full) --- 179 .id_table = snd_trident_ids, 180 .probe = snd_trident_probe, 181 .remove = __devexit_p(snd_trident_remove), 182 SND_PCI_PM_CALLBACKS 183}; 184 185static int __init alsa_card_trident_init(void) 186{ |
187 return pci_module_init(&driver); | 187 return pci_register_driver(&driver); |
188} 189 190static void __exit alsa_card_trident_exit(void) 191{ 192 pci_unregister_driver(&driver); 193} 194 195module_init(alsa_card_trident_init) 196module_exit(alsa_card_trident_exit) | 188} 189 190static void __exit alsa_card_trident_exit(void) 191{ 192 pci_unregister_driver(&driver); 193} 194 195module_init(alsa_card_trident_init) 196module_exit(alsa_card_trident_exit) |