nm256.c (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) | nm256.c (01d25d460a3b28aab537fab9a0038d1b5832ce28) |
---|---|
1/* 2 * Driver for NeoMagic 256AV and 256ZX chipsets. 3 * Copyright (c) 2000 by Takashi Iwai <tiwai@suse.de> 4 * 5 * Based on nm256_audio.c OSS driver in linux kernel. 6 * The original author of OSS nm256 driver wishes to remain anonymous, 7 * so I just put my acknoledgment to him/her here. 8 * The original author's web page is found at --- 1631 unchanged lines hidden (view full) --- 1640 .probe = snd_nm256_probe, 1641 .remove = __devexit_p(snd_nm256_remove), 1642 SND_PCI_PM_CALLBACKS 1643}; 1644 1645 1646static int __init alsa_card_nm256_init(void) 1647{ | 1/* 2 * Driver for NeoMagic 256AV and 256ZX chipsets. 3 * Copyright (c) 2000 by Takashi Iwai <tiwai@suse.de> 4 * 5 * Based on nm256_audio.c OSS driver in linux kernel. 6 * The original author of OSS nm256 driver wishes to remain anonymous, 7 * so I just put my acknoledgment to him/her here. 8 * The original author's web page is found at --- 1631 unchanged lines hidden (view full) --- 1640 .probe = snd_nm256_probe, 1641 .remove = __devexit_p(snd_nm256_remove), 1642 SND_PCI_PM_CALLBACKS 1643}; 1644 1645 1646static int __init alsa_card_nm256_init(void) 1647{ |
1648 return pci_module_init(&driver); | 1648 return pci_register_driver(&driver); |
1649} 1650 1651static void __exit alsa_card_nm256_exit(void) 1652{ 1653 pci_unregister_driver(&driver); 1654} 1655 1656module_init(alsa_card_nm256_init) 1657module_exit(alsa_card_nm256_exit) | 1649} 1650 1651static void __exit alsa_card_nm256_exit(void) 1652{ 1653 pci_unregister_driver(&driver); 1654} 1655 1656module_init(alsa_card_nm256_init) 1657module_exit(alsa_card_nm256_exit) |