vx222.c (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) | vx222.c (01d25d460a3b28aab537fab9a0038d1b5832ce28) |
---|---|
1/* 2 * Driver for Digigram VX222 V2/Mic PCI soundcards 3 * 4 * Copyright (c) 2002 by 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 --- 246 unchanged lines hidden (view full) --- 255 .id_table = snd_vx222_ids, 256 .probe = snd_vx222_probe, 257 .remove = __devexit_p(snd_vx222_remove), 258 SND_PCI_PM_CALLBACKS 259}; 260 261static int __init alsa_card_vx222_init(void) 262{ | 1/* 2 * Driver for Digigram VX222 V2/Mic PCI soundcards 3 * 4 * Copyright (c) 2002 by 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 --- 246 unchanged lines hidden (view full) --- 255 .id_table = snd_vx222_ids, 256 .probe = snd_vx222_probe, 257 .remove = __devexit_p(snd_vx222_remove), 258 SND_PCI_PM_CALLBACKS 259}; 260 261static int __init alsa_card_vx222_init(void) 262{ |
263 return pci_module_init(&driver); | 263 return pci_register_driver(&driver); |
264} 265 266static void __exit alsa_card_vx222_exit(void) 267{ 268 pci_unregister_driver(&driver); 269} 270 271module_init(alsa_card_vx222_init) 272module_exit(alsa_card_vx222_exit) | 264} 265 266static void __exit alsa_card_vx222_exit(void) 267{ 268 pci_unregister_driver(&driver); 269} 270 271module_init(alsa_card_vx222_init) 272module_exit(alsa_card_vx222_exit) |