[PATCH] [UBUNTU:sound] Restore xxx_t typedefs for compatibility in pci/hda/patch_sigmatel.c take #2

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
Fri Mar 10 11:22:55 UTC 2006


UpstreamStatus: Not merged

This patch completes the restoring of compatibility xxx_t typedefs in
pci/hda/patch_sigmatel.c (missed three in the first patch).

Signed-off-by: Daniel T Chen <crimsun at ubuntu.com>

---

 sound/pci/hda/patch_sigmatel.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

a693ac27f8f8ed4bff1f5e0395806e59fb57890f
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 8baab97..b1a5c17 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -540,7 +540,7 @@ static void stac92xx_auto_set_pinctl(str
 			AC_VERB_SET_PIN_WIDGET_CONTROL, pin_type);
 }
 
-static int stac92xx_io_switch_info(snd_kcontrol_t *kcontrol, struct snd_ctl_elem_info *uinfo)
+static int stac92xx_io_switch_info(snd_kcontrol_t *kcontrol, snd_ctl_elem_info_t *uinfo)
 {
 	uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN;
 	uinfo->count = 1;
@@ -549,7 +549,7 @@ static int stac92xx_io_switch_info(snd_k
 	return 0;
 }
 
-static int stac92xx_io_switch_get(snd_kcontrol_t *kcontrol, struct snd_ctl_elem_value *ucontrol)
+static int stac92xx_io_switch_get(snd_kcontrol_t *kcontrol, snd_ctl_elem_value_t *ucontrol)
 {
 	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
 	struct sigmatel_spec *spec = codec->spec;
@@ -559,7 +559,7 @@ static int stac92xx_io_switch_get(snd_kc
 	return 0;
 }
 
-static int stac92xx_io_switch_put(snd_kcontrol_t *kcontrol, struct snd_ctl_elem_value *ucontrol)
+static int stac92xx_io_switch_put(snd_kcontrol_t *kcontrol, snd_ctl_elem_value_t *ucontrol)
 {
 	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
 	struct sigmatel_spec *spec = codec->spec;
-- 
1.1.3

-- 
Daniel T. Chen            crimsun at ubuntu.com
GPG key:   www.sh.nu/~crimsun/pubkey.gpg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20060310/872fd989/attachment.sig>


More information about the kernel-team mailing list