cs46xx.c (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) | cs46xx.c (01d25d460a3b28aab537fab9a0038d1b5832ce28) |
---|---|
1/* 2 * The driver for the Cirrus Logic's Sound Fusion CS46XX based soundcards 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 --- 157 unchanged lines hidden (view full) --- 166 .id_table = snd_cs46xx_ids, 167 .probe = snd_card_cs46xx_probe, 168 .remove = __devexit_p(snd_card_cs46xx_remove), 169 SND_PCI_PM_CALLBACKS 170}; 171 172static int __init alsa_card_cs46xx_init(void) 173{ | 1/* 2 * The driver for the Cirrus Logic's Sound Fusion CS46XX based soundcards 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 --- 157 unchanged lines hidden (view full) --- 166 .id_table = snd_cs46xx_ids, 167 .probe = snd_card_cs46xx_probe, 168 .remove = __devexit_p(snd_card_cs46xx_remove), 169 SND_PCI_PM_CALLBACKS 170}; 171 172static int __init alsa_card_cs46xx_init(void) 173{ |
174 return pci_module_init(&driver); | 174 return pci_register_driver(&driver); |
175} 176 177static void __exit alsa_card_cs46xx_exit(void) 178{ 179 pci_unregister_driver(&driver); 180} 181 182module_init(alsa_card_cs46xx_init) 183module_exit(alsa_card_cs46xx_exit) | 175} 176 177static void __exit alsa_card_cs46xx_exit(void) 178{ 179 pci_unregister_driver(&driver); 180} 181 182module_init(alsa_card_cs46xx_init) 183module_exit(alsa_card_cs46xx_exit) |