List Info

Thread: Restore xxx_t typedefs for compatibility in pci/hda/patch_sigmatel.c




Restore xxx_t typedefs for compatibility in pci/hda/patch_sigmatel.c
user name
2006-03-10 11:22:05
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 <crimsunubuntu.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            crimsunubuntu.com
GPG key:   www.sh.nu/~crimsun/pubkey.gpg.asc
-- 
kernel-team mailing list
kernel-teamlists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )