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

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


UpstreamStatus: Not merged

To maintain compatibility with our current typedefs, this patch
restores the xxx_t typedefs in pci/hda/patch_sigmatel.c .

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

---

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

8e966efaafc7cbbf69a10a9efc88cf4410943b5d
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index adb5a9a..8baab97 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(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
+static int stac92xx_io_switch_info(snd_kcontrol_t *kcontrol, struct snd_ctl_elem_info *uinfo)
 {
 	uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN;
 	uinfo->count = 1;
@@ -549,7 +549,7 @@ static int stac92xx_io_switch_info(struc
 	return 0;
 }
 
-static int stac92xx_io_switch_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
+static int stac92xx_io_switch_get(snd_kcontrol_t *kcontrol, struct snd_ctl_elem_value *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(struct
 	return 0;
 }
 
-static int stac92xx_io_switch_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
+static int stac92xx_io_switch_put(snd_kcontrol_t *kcontrol, struct snd_ctl_elem_value *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/d072dc4a/attachment.sig>


More information about the kernel-team mailing list