diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 08:57:47 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:19:06 -0500 |
commit | c8b6bf9b5ef1f595a65a3414a5ca2588e8d993b2 (patch) | |
tree | 9c297d352b2f6056fc336fb4ccb3f1a9f4c9a102 /sound/pci/hda/hda_proc.c | |
parent | 66f8df6bdd388d209c38197785148c994c8a738d (diff) |
[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>
Diffstat (limited to 'sound/pci/hda/hda_proc.c')
-rw-r--r-- | sound/pci/hda/hda_proc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/pci/hda/hda_proc.c b/sound/pci/hda/hda_proc.c index 39ddf1cd9019..8cc5773958f6 100644 --- a/sound/pci/hda/hda_proc.c +++ b/sound/pci/hda/hda_proc.c | |||
@@ -47,7 +47,7 @@ static const char *get_wid_type_name(unsigned int wid_value) | |||
47 | return "UNKOWN Widget"; | 47 | return "UNKOWN Widget"; |
48 | } | 48 | } |
49 | 49 | ||
50 | static void print_amp_caps(snd_info_buffer_t *buffer, | 50 | static void print_amp_caps(struct snd_info_buffer *buffer, |
51 | struct hda_codec *codec, hda_nid_t nid, int dir) | 51 | struct hda_codec *codec, hda_nid_t nid, int dir) |
52 | { | 52 | { |
53 | unsigned int caps; | 53 | unsigned int caps; |
@@ -66,7 +66,7 @@ static void print_amp_caps(snd_info_buffer_t *buffer, | |||
66 | (caps & AC_AMPCAP_MUTE) >> AC_AMPCAP_MUTE_SHIFT); | 66 | (caps & AC_AMPCAP_MUTE) >> AC_AMPCAP_MUTE_SHIFT); |
67 | } | 67 | } |
68 | 68 | ||
69 | static void print_amp_vals(snd_info_buffer_t *buffer, | 69 | static void print_amp_vals(struct snd_info_buffer *buffer, |
70 | struct hda_codec *codec, hda_nid_t nid, | 70 | struct hda_codec *codec, hda_nid_t nid, |
71 | int dir, int stereo, int indices) | 71 | int dir, int stereo, int indices) |
72 | { | 72 | { |
@@ -91,7 +91,7 @@ static void print_amp_vals(snd_info_buffer_t *buffer, | |||
91 | snd_iprintf(buffer, "\n"); | 91 | snd_iprintf(buffer, "\n"); |
92 | } | 92 | } |
93 | 93 | ||
94 | static void print_pcm_caps(snd_info_buffer_t *buffer, | 94 | static void print_pcm_caps(struct snd_info_buffer *buffer, |
95 | struct hda_codec *codec, hda_nid_t nid) | 95 | struct hda_codec *codec, hda_nid_t nid) |
96 | { | 96 | { |
97 | unsigned int pcm = snd_hda_param_read(codec, nid, AC_PAR_PCM); | 97 | unsigned int pcm = snd_hda_param_read(codec, nid, AC_PAR_PCM); |
@@ -160,7 +160,7 @@ static const char *get_jack_color(u32 cfg) | |||
160 | return "UNKNOWN"; | 160 | return "UNKNOWN"; |
161 | } | 161 | } |
162 | 162 | ||
163 | static void print_pin_caps(snd_info_buffer_t *buffer, | 163 | static void print_pin_caps(struct snd_info_buffer *buffer, |
164 | struct hda_codec *codec, hda_nid_t nid) | 164 | struct hda_codec *codec, hda_nid_t nid) |
165 | { | 165 | { |
166 | static char *jack_conns[4] = { "Jack", "N/A", "Fixed", "Both" }; | 166 | static char *jack_conns[4] = { "Jack", "N/A", "Fixed", "Both" }; |
@@ -194,7 +194,7 @@ static void print_pin_caps(snd_info_buffer_t *buffer, | |||
194 | } | 194 | } |
195 | 195 | ||
196 | 196 | ||
197 | static void print_codec_info(snd_info_entry_t *entry, snd_info_buffer_t *buffer) | 197 | static void print_codec_info(struct snd_info_entry *entry, struct snd_info_buffer *buffer) |
198 | { | 198 | { |
199 | struct hda_codec *codec = entry->private_data; | 199 | struct hda_codec *codec = entry->private_data; |
200 | char buf[32]; | 200 | char buf[32]; |
@@ -309,7 +309,7 @@ static void print_codec_info(snd_info_entry_t *entry, snd_info_buffer_t *buffer) | |||
309 | int snd_hda_codec_proc_new(struct hda_codec *codec) | 309 | int snd_hda_codec_proc_new(struct hda_codec *codec) |
310 | { | 310 | { |
311 | char name[32]; | 311 | char name[32]; |
312 | snd_info_entry_t *entry; | 312 | struct snd_info_entry *entry; |
313 | int err; | 313 | int err; |
314 | 314 | ||
315 | snprintf(name, sizeof(name), "codec#%d", codec->addr); | 315 | snprintf(name, sizeof(name), "codec#%d", codec->addr); |