atiixp.c (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) | atiixp.c (01d25d460a3b28aab537fab9a0038d1b5832ce28) |
---|---|
1/* 2 * ALSA driver for ATI IXP 150/200/250/300 AC97 controllers 3 * 4 * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de> 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 --- 1631 unchanged lines hidden (view full) --- 1640 .probe = snd_atiixp_probe, 1641 .remove = __devexit_p(snd_atiixp_remove), 1642 SND_PCI_PM_CALLBACKS 1643}; 1644 1645 1646static int __init alsa_card_atiixp_init(void) 1647{ | 1/* 2 * ALSA driver for ATI IXP 150/200/250/300 AC97 controllers 3 * 4 * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de> 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 --- 1631 unchanged lines hidden (view full) --- 1640 .probe = snd_atiixp_probe, 1641 .remove = __devexit_p(snd_atiixp_remove), 1642 SND_PCI_PM_CALLBACKS 1643}; 1644 1645 1646static int __init alsa_card_atiixp_init(void) 1647{ |
1648 return pci_module_init(&driver); | 1648 return pci_register_driver(&driver); |
1649} 1650 1651static void __exit alsa_card_atiixp_exit(void) 1652{ 1653 pci_unregister_driver(&driver); 1654} 1655 1656module_init(alsa_card_atiixp_init) 1657module_exit(alsa_card_atiixp_exit) | 1649} 1650 1651static void __exit alsa_card_atiixp_exit(void) 1652{ 1653 pci_unregister_driver(&driver); 1654} 1655 1656module_init(alsa_card_atiixp_init) 1657module_exit(alsa_card_atiixp_exit) |