korg1212.c (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) | korg1212.c (01d25d460a3b28aab537fab9a0038d1b5832ce28) |
---|---|
1/* 2 * Driver for the Korg 1212 IO PCI card 3 * 4 * Copyright (c) 2001 Haroldo Gamal <gamal@alternex.com.br> 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 --- 2527 unchanged lines hidden (view full) --- 2536 .name = "korg1212", 2537 .id_table = snd_korg1212_ids, 2538 .probe = snd_korg1212_probe, 2539 .remove = __devexit_p(snd_korg1212_remove), 2540}; 2541 2542static int __init alsa_card_korg1212_init(void) 2543{ | 1/* 2 * Driver for the Korg 1212 IO PCI card 3 * 4 * Copyright (c) 2001 Haroldo Gamal <gamal@alternex.com.br> 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 --- 2527 unchanged lines hidden (view full) --- 2536 .name = "korg1212", 2537 .id_table = snd_korg1212_ids, 2538 .probe = snd_korg1212_probe, 2539 .remove = __devexit_p(snd_korg1212_remove), 2540}; 2541 2542static int __init alsa_card_korg1212_init(void) 2543{ |
2544 return pci_module_init(&driver); | 2544 return pci_register_driver(&driver); |
2545} 2546 2547static void __exit alsa_card_korg1212_exit(void) 2548{ 2549 pci_unregister_driver(&driver); 2550} 2551 2552module_init(alsa_card_korg1212_init) 2553module_exit(alsa_card_korg1212_exit) | 2545} 2546 2547static void __exit alsa_card_korg1212_exit(void) 2548{ 2549 pci_unregister_driver(&driver); 2550} 2551 2552module_init(alsa_card_korg1212_init) 2553module_exit(alsa_card_korg1212_exit) |