Commit d1d985f0 authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[ALSA] Fix obsolete *_t typedefs

Fixed obsolete *_t typedefs.  Now completely removed.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent 59d6e149
...@@ -444,7 +444,7 @@ static int snd_als300_capture_close(struct snd_pcm_substream *substream) ...@@ -444,7 +444,7 @@ static int snd_als300_capture_close(struct snd_pcm_substream *substream)
} }
static int snd_als300_pcm_hw_params(struct snd_pcm_substream *substream, static int snd_als300_pcm_hw_params(struct snd_pcm_substream *substream,
snd_pcm_hw_params_t * hw_params) struct snd_pcm_hw_params *hw_params)
{ {
return snd_pcm_lib_malloc_pages(substream, return snd_pcm_lib_malloc_pages(substream,
params_buffer_bytes(hw_params)); params_buffer_bytes(hw_params));
...@@ -673,7 +673,7 @@ static void snd_als300_init(struct snd_als300 *chip) ...@@ -673,7 +673,7 @@ static void snd_als300_init(struct snd_als300 *chip)
snd_als300_dbgcallleave(); snd_als300_dbgcallleave();
} }
static int __devinit snd_als300_create(snd_card_t *card, static int __devinit snd_als300_create(struct snd_card *card,
struct pci_dev *pci, int chip_type, struct pci_dev *pci, int chip_type,
struct snd_als300 **rchip) struct snd_als300 **rchip)
{ {
...@@ -681,7 +681,7 @@ static int __devinit snd_als300_create(snd_card_t *card, ...@@ -681,7 +681,7 @@ static int __devinit snd_als300_create(snd_card_t *card,
void *irq_handler; void *irq_handler;
int err; int err;
static snd_device_ops_t ops = { static struct snd_device_ops ops = {
.dev_free = snd_als300_dev_free, .dev_free = snd_als300_dev_free,
}; };
*rchip = NULL; *rchip = NULL;
......
...@@ -5115,7 +5115,7 @@ static struct snd_kcontrol_new alc883_3ST_6ch_mixer[] = { ...@@ -5115,7 +5115,7 @@ static struct snd_kcontrol_new alc883_3ST_6ch_mixer[] = {
{ } /* end */ { } /* end */
}; };
static snd_kcontrol_new_t alc883_fivestack_mixer[] = { static struct snd_kcontrol_new alc883_fivestack_mixer[] = {
HDA_CODEC_VOLUME("Front Playback Volume", 0x0c, 0x0, HDA_OUTPUT), HDA_CODEC_VOLUME("Front Playback Volume", 0x0c, 0x0, HDA_OUTPUT),
HDA_CODEC_MUTE("Front Playback Switch", 0x14, 0x0, HDA_OUTPUT), HDA_CODEC_MUTE("Front Playback Switch", 0x14, 0x0, HDA_OUTPUT),
HDA_CODEC_VOLUME("Surround Playback Volume", 0x0d, 0x0, HDA_OUTPUT), HDA_CODEC_VOLUME("Surround Playback Volume", 0x0d, 0x0, HDA_OUTPUT),
...@@ -6799,7 +6799,7 @@ static struct snd_kcontrol_new alc861_3ST_mixer[] = { ...@@ -6799,7 +6799,7 @@ static struct snd_kcontrol_new alc861_3ST_mixer[] = {
{ } /* end */ { } /* end */
}; };
static snd_kcontrol_new_t alc861_toshiba_mixer[] = { static struct snd_kcontrol_new alc861_toshiba_mixer[] = {
/* output mixer control */ /* output mixer control */
HDA_CODEC_MUTE("Master Playback Switch", 0x03, 0x0, HDA_OUTPUT), HDA_CODEC_MUTE("Master Playback Switch", 0x03, 0x0, HDA_OUTPUT),
HDA_CODEC_VOLUME("Mic Playback Volume", 0x15, 0x01, HDA_INPUT), HDA_CODEC_VOLUME("Mic Playback Volume", 0x15, 0x01, HDA_INPUT),
...@@ -6905,7 +6905,7 @@ static struct snd_kcontrol_new alc861_asus_mixer[] = { ...@@ -6905,7 +6905,7 @@ static struct snd_kcontrol_new alc861_asus_mixer[] = {
}; };
/* additional mixer */ /* additional mixer */
static snd_kcontrol_new_t alc861_asus_laptop_mixer[] = { static struct snd_kcontrol_new alc861_asus_laptop_mixer[] = {
HDA_CODEC_VOLUME("CD Playback Volume", 0x15, 0x0, HDA_INPUT), HDA_CODEC_VOLUME("CD Playback Volume", 0x15, 0x0, HDA_INPUT),
HDA_CODEC_MUTE("CD Playback Switch", 0x15, 0x0, HDA_INPUT), HDA_CODEC_MUTE("CD Playback Switch", 0x15, 0x0, HDA_INPUT),
HDA_CODEC_VOLUME("PC Beep Playback Volume", 0x23, 0x0, HDA_OUTPUT), HDA_CODEC_VOLUME("PC Beep Playback Volume", 0x23, 0x0, HDA_OUTPUT),
......
...@@ -301,7 +301,7 @@ static struct snd_kcontrol_new stac9227_mixer[] = { ...@@ -301,7 +301,7 @@ static struct snd_kcontrol_new stac9227_mixer[] = {
{ } /* end */ { } /* end */
}; };
static snd_kcontrol_new_t stac927x_mixer[] = { static struct snd_kcontrol_new stac927x_mixer[] = {
{ {
.iface = SNDRV_CTL_ELEM_IFACE_MIXER, .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
.name = "Input Source", .name = "Input Source",
...@@ -316,7 +316,7 @@ static snd_kcontrol_new_t stac927x_mixer[] = { ...@@ -316,7 +316,7 @@ static snd_kcontrol_new_t stac927x_mixer[] = {
{ } /* end */ { } /* end */
}; };
static snd_kcontrol_new_t stac9205_mixer[] = { static struct snd_kcontrol_new stac9205_mixer[] = {
{ {
.iface = SNDRV_CTL_ELEM_IFACE_MIXER, .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
.name = "Digital Input Source", .name = "Digital Input Source",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment