ymfpci.c (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) | ymfpci.c (01d25d460a3b28aab537fab9a0038d1b5832ce28) |
---|---|
1/* 2 * The driver for the Yamaha's DS1/DS1E cards 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 --- 346 unchanged lines hidden (view full) --- 355 .id_table = snd_ymfpci_ids, 356 .probe = snd_card_ymfpci_probe, 357 .remove = __devexit_p(snd_card_ymfpci_remove), 358 SND_PCI_PM_CALLBACKS 359}; 360 361static int __init alsa_card_ymfpci_init(void) 362{ | 1/* 2 * The driver for the Yamaha's DS1/DS1E cards 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 --- 346 unchanged lines hidden (view full) --- 355 .id_table = snd_ymfpci_ids, 356 .probe = snd_card_ymfpci_probe, 357 .remove = __devexit_p(snd_card_ymfpci_remove), 358 SND_PCI_PM_CALLBACKS 359}; 360 361static int __init alsa_card_ymfpci_init(void) 362{ |
363 return pci_module_init(&driver); | 363 return pci_register_driver(&driver); |
364} 365 366static void __exit alsa_card_ymfpci_exit(void) 367{ 368 pci_unregister_driver(&driver); 369} 370 371module_init(alsa_card_ymfpci_init) 372module_exit(alsa_card_ymfpci_exit) | 364} 365 366static void __exit alsa_card_ymfpci_exit(void) 367{ 368 pci_unregister_driver(&driver); 369} 370 371module_init(alsa_card_ymfpci_init) 372module_exit(alsa_card_ymfpci_exit) |