Update of /cvsroot/alsa/alsa-kernel/pci In directory sc8-pr-cvs1:/tmp/cvs-serv18040
Modified Files: intel8x0.c sonicvibes.c Log Message: Art Haas <[EMAIL PROTECTED]> Here is a set of patches for files in sound/pci that convert the files to use C99 initializers. The patches are against the current BK. Index: intel8x0.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/intel8x0.c,v retrieving revision 1.67 retrieving revision 1.68 diff -u -r1.67 -r1.68 --- intel8x0.c 28 Feb 2003 14:15:38 -0000 1.67 +++ intel8x0.c 1 Mar 2003 19:03:20 -0000 1.68 @@ -2465,12 +2465,12 @@ static struct pci_driver driver = { .name = "Intel ICH", - id_table: snd_intel8x0_ids, - probe: snd_intel8x0_probe, - remove: __devexit_p(snd_intel8x0_remove), + .id_table = snd_intel8x0_ids, + .probe = snd_intel8x0_probe, + .remove = __devexit_p(snd_intel8x0_remove), #ifdef CONFIG_PM - suspend: snd_intel8x0_suspend, - resume: snd_intel8x0_resume, + .suspend = snd_intel8x0_suspend, + .resume = snd_intel8x0_resume, #endif }; Index: sonicvibes.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/sonicvibes.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- sonicvibes.c 31 Jan 2003 15:20:36 -0000 1.21 +++ sonicvibes.c 1 Mar 2003 19:03:21 -0000 1.22 @@ -267,14 +267,14 @@ MODULE_DEVICE_TABLE(pci, snd_sonic_ids); static ratden_t sonicvibes_adc_clock = { - num_min: 4000 * 65536, - num_max: 48000UL * 65536, - num_step: 1, - den: 65536, + .num_min = 4000 * 65536, + .num_max = 48000UL * 65536, + .num_step = 1, + .den = 65536, }; static snd_pcm_hw_constraint_ratdens_t snd_sonicvibes_hw_constraints_adc_clock = { - nrats: 1, - rats: &sonicvibes_adc_clock, + .nrats = 1, + .rats = &sonicvibes_adc_clock, }; /* ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog