Update of /cvsroot/alsa/alsa-kernel/i2c
In directory usw-pr-cvs1:/tmp/cvs-serv20523/i2c

Modified Files:
        tea6330t.c 
Log Message:
C99 structure initializers - second set of changes

Index: tea6330t.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/i2c/tea6330t.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- tea6330t.c  13 Aug 2002 16:13:36 -0000      1.6
+++ tea6330t.c  15 Aug 2002 12:13:06 -0000      1.7
@@ -67,9 +67,9 @@
 #endif
 
 #define TEA6330T_MASTER_VOLUME(xname, xindex) \
-{ .iface = SNDRV_CTL_ELEM_IFACE_MIXER, name: xname, index: xindex, \
+{ .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \
   .info = snd_tea6330t_info_master_volume, \
-  .get = snd_tea6330t_get_master_volume, put: snd_tea6330t_put_master_volume }
+  .get = snd_tea6330t_get_master_volume, .put = snd_tea6330t_put_master_volume }
 
 static int snd_tea6330t_info_master_volume(snd_kcontrol_t *kcontrol, 
snd_ctl_elem_info_t * uinfo)
 {
@@ -123,9 +123,9 @@
 }
 
 #define TEA6330T_MASTER_SWITCH(xname, xindex) \
-{ .iface = SNDRV_CTL_ELEM_IFACE_MIXER, name: xname, index: xindex, \
+{ .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \
   .info = snd_tea6330t_info_master_switch, \
-  .get = snd_tea6330t_get_master_switch, put: snd_tea6330t_put_master_switch }
+  .get = snd_tea6330t_get_master_switch, .put = snd_tea6330t_put_master_switch }
 
 static int snd_tea6330t_info_master_switch(snd_kcontrol_t *kcontrol, 
snd_ctl_elem_info_t * uinfo)
 {
@@ -172,9 +172,9 @@
 }
 
 #define TEA6330T_BASS(xname, xindex) \
-{ .iface = SNDRV_CTL_ELEM_IFACE_MIXER, name: xname, index: xindex, \
+{ .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \
   .info = snd_tea6330t_info_bass, \
-  .get = snd_tea6330t_get_bass, put: snd_tea6330t_put_bass }
+  .get = snd_tea6330t_get_bass, .put = snd_tea6330t_put_bass }
 
 static int snd_tea6330t_info_bass(snd_kcontrol_t *kcontrol, snd_ctl_elem_info_t * 
uinfo)
 {
@@ -216,9 +216,9 @@
 }
 
 #define TEA6330T_TREBLE(xname, xindex) \
-{ .iface = SNDRV_CTL_ELEM_IFACE_MIXER, name: xname, index: xindex, \
+{ .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \
   .info = snd_tea6330t_info_treble, \
-  .get = snd_tea6330t_get_treble, put: snd_tea6330t_put_treble }
+  .get = snd_tea6330t_get_treble, .put = snd_tea6330t_put_treble }
 
 static int snd_tea6330t_info_treble(snd_kcontrol_t *kcontrol, snd_ctl_elem_info_t * 
uinfo)
 {



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to