[ALSA] Remove xxx_t typedefs: HD-Audio codec
Modules: HDA Codec driver,HDA generic driver Remove xxx_t typedefs from the HD-Audio codec support codes. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
committed by
Jaroslav Kysela
parent
66f8df6bdd
commit
c8b6bf9b5e
@@ -47,7 +47,7 @@ static const char *get_wid_type_name(unsigned int wid_value)
|
||||
return "UNKOWN Widget";
|
||||
}
|
||||
|
||||
static void print_amp_caps(snd_info_buffer_t *buffer,
|
||||
static void print_amp_caps(struct snd_info_buffer *buffer,
|
||||
struct hda_codec *codec, hda_nid_t nid, int dir)
|
||||
{
|
||||
unsigned int caps;
|
||||
@@ -66,7 +66,7 @@ static void print_amp_caps(snd_info_buffer_t *buffer,
|
||||
(caps & AC_AMPCAP_MUTE) >> AC_AMPCAP_MUTE_SHIFT);
|
||||
}
|
||||
|
||||
static void print_amp_vals(snd_info_buffer_t *buffer,
|
||||
static void print_amp_vals(struct snd_info_buffer *buffer,
|
||||
struct hda_codec *codec, hda_nid_t nid,
|
||||
int dir, int stereo, int indices)
|
||||
{
|
||||
@@ -91,7 +91,7 @@ static void print_amp_vals(snd_info_buffer_t *buffer,
|
||||
snd_iprintf(buffer, "\n");
|
||||
}
|
||||
|
||||
static void print_pcm_caps(snd_info_buffer_t *buffer,
|
||||
static void print_pcm_caps(struct snd_info_buffer *buffer,
|
||||
struct hda_codec *codec, hda_nid_t nid)
|
||||
{
|
||||
unsigned int pcm = snd_hda_param_read(codec, nid, AC_PAR_PCM);
|
||||
@@ -160,7 +160,7 @@ static const char *get_jack_color(u32 cfg)
|
||||
return "UNKNOWN";
|
||||
}
|
||||
|
||||
static void print_pin_caps(snd_info_buffer_t *buffer,
|
||||
static void print_pin_caps(struct snd_info_buffer *buffer,
|
||||
struct hda_codec *codec, hda_nid_t nid)
|
||||
{
|
||||
static char *jack_conns[4] = { "Jack", "N/A", "Fixed", "Both" };
|
||||
@@ -194,7 +194,7 @@ static void print_pin_caps(snd_info_buffer_t *buffer,
|
||||
}
|
||||
|
||||
|
||||
static void print_codec_info(snd_info_entry_t *entry, snd_info_buffer_t *buffer)
|
||||
static void print_codec_info(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
|
||||
{
|
||||
struct hda_codec *codec = entry->private_data;
|
||||
char buf[32];
|
||||
@@ -309,7 +309,7 @@ static void print_codec_info(snd_info_entry_t *entry, snd_info_buffer_t *buffer)
|
||||
int snd_hda_codec_proc_new(struct hda_codec *codec)
|
||||
{
|
||||
char name[32];
|
||||
snd_info_entry_t *entry;
|
||||
struct snd_info_entry *entry;
|
||||
int err;
|
||||
|
||||
snprintf(name, sizeof(name), "codec#%d", codec->addr);
|
||||
|
Reference in New Issue
Block a user