cs4281.c (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) | cs4281.c (01d25d460a3b28aab537fab9a0038d1b5832ce28) |
---|---|
1/* 2 * Driver for Cirrus Logic CS4281 based PCI soundcard 3 * Copyright (c) by Jaroslav Kysela <perex@suse.cz>, 4 * 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 2110 unchanged lines hidden (view full) --- 2119 .id_table = snd_cs4281_ids, 2120 .probe = snd_cs4281_probe, 2121 .remove = __devexit_p(snd_cs4281_remove), 2122 SND_PCI_PM_CALLBACKS 2123}; 2124 2125static int __init alsa_card_cs4281_init(void) 2126{ | 1/* 2 * Driver for Cirrus Logic CS4281 based PCI soundcard 3 * Copyright (c) by Jaroslav Kysela <perex@suse.cz>, 4 * 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 2110 unchanged lines hidden (view full) --- 2119 .id_table = snd_cs4281_ids, 2120 .probe = snd_cs4281_probe, 2121 .remove = __devexit_p(snd_cs4281_remove), 2122 SND_PCI_PM_CALLBACKS 2123}; 2124 2125static int __init alsa_card_cs4281_init(void) 2126{ |
2127 return pci_module_init(&driver); | 2127 return pci_register_driver(&driver); |
2128} 2129 2130static void __exit alsa_card_cs4281_exit(void) 2131{ 2132 pci_unregister_driver(&driver); 2133} 2134 2135module_init(alsa_card_cs4281_init) 2136module_exit(alsa_card_cs4281_exit) | 2128} 2129 2130static void __exit alsa_card_cs4281_exit(void) 2131{ 2132 pci_unregister_driver(&driver); 2133} 2134 2135module_init(alsa_card_cs4281_init) 2136module_exit(alsa_card_cs4281_exit) |