Update of /cvsroot/alsa/alsa-kernel/pci/ac97
In directory sc8-pr-cvs1:/tmp/cvs-serv722
Modified Files:
ac97_codec.c
Log Message:
Art Haas <[EMAIL PROTECTED]>
This patch converts the file to use C99 initializers.
Index: ac97_codec.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ac97/ac97_codec.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- ac97_codec.c 25 Feb 2003 18:04:03 -0000 1.75
+++ ac97_codec.c 28 Feb 2003 09:15:45 -0000 1.76
@@ -1142,11 +1142,11 @@
static const snd_kcontrol_new_t snd_ac97_ymf753_controls_speaker =
{
- iface: SNDRV_CTL_ELEM_IFACE_MIXER,
- name: "3D Control - Speaker",
- info: snd_ac97_ymf753_info_speaker,
- get: snd_ac97_ymf753_get_speaker,
- put: snd_ac97_ymf753_put_speaker,
+ .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
+ .name = "3D Control - Speaker",
+ .info = snd_ac97_ymf753_info_speaker,
+ .get = snd_ac97_ymf753_get_speaker,
+ .put = snd_ac97_ymf753_put_speaker,
};
/* It is possible to indicate to the Yamaha YMF753 the source to direct to the S/PDIF
output. */
@@ -1227,18 +1227,18 @@
static const snd_kcontrol_new_t snd_ac97_ymf753_controls_spdif[3] = {
{
- iface: SNDRV_CTL_ELEM_IFACE_MIXER,
- name: SNDRV_CTL_NAME_IEC958("",PLAYBACK,NONE) "Source",
- info: snd_ac97_ymf753_spdif_source_info,
- get: snd_ac97_ymf753_spdif_source_get,
- put: snd_ac97_ymf753_spdif_source_put,
+ .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
+ .name = SNDRV_CTL_NAME_IEC958("",PLAYBACK,NONE) "Source",
+ .info = snd_ac97_ymf753_spdif_source_info,
+ .get = snd_ac97_ymf753_spdif_source_get,
+ .put = snd_ac97_ymf753_spdif_source_put,
},
{
- iface: SNDRV_CTL_ELEM_IFACE_MIXER,
- name: SNDRV_CTL_NAME_IEC958("",PLAYBACK,NONE) "Output Pin",
- info: snd_ac97_ymf753_spdif_output_pin_info,
- get: snd_ac97_ymf753_spdif_output_pin_get,
- put: snd_ac97_ymf753_spdif_output_pin_put,
+ .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
+ .name = SNDRV_CTL_NAME_IEC958("",PLAYBACK,NONE) "Output Pin",
+ .info = snd_ac97_ymf753_spdif_output_pin_info,
+ .get = snd_ac97_ymf753_spdif_output_pin_get,
+ .put = snd_ac97_ymf753_spdif_output_pin_put,
},
AC97_SINGLE(SNDRV_CTL_NAME_IEC958("",NONE,NONE) "Mute", AC97_YMF753_DIT_CTRL2,
2, 1, 1)
};
-------------------------------------------------------
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