summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-11-17 14:44:47 +0100
committerJaroslav Kysela <perex@suse.cz>2006-01-03 12:18:41 +0100
commit9f38945fab04a0a0ea50880fa634f9bfa28f6226 (patch)
tree7f09c129ce5199bdc0834456e09460f1df81427f /include/sound
parent11ff5c62b1327cc7bdcfcf66b4b718495fea0043 (diff)
downloadlinux-9f38945fab04a0a0ea50880fa634f9bfa28f6226.tar.bz2
[ALSA] Remove xxx_t typedefs: AK4531 codec
Modules: AK4531 codec Remove xxx_t typedefs from the AK4531 codec support code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/ak4531_codec.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/sound/ak4531_codec.h b/include/sound/ak4531_codec.h
index 8b18992376d5..4e7c661af484 100644
--- a/include/sound/ak4531_codec.h
+++ b/include/sound/ak4531_codec.h
@@ -64,17 +64,17 @@
#define AK4531_AD_IN 0x18 /* AD input select */
#define AK4531_MIC_GAIN 0x19 /* MIC amplified gain */
-typedef struct _snd_ak4531 ak4531_t;
-
-struct _snd_ak4531 {
- void (*write) (ak4531_t *ak4531, unsigned short reg, unsigned short val);
+struct snd_ak4531 {
+ void (*write) (struct snd_ak4531 *ak4531, unsigned short reg,
+ unsigned short val);
void *private_data;
- void (*private_free) (ak4531_t *ak4531);
+ void (*private_free) (struct snd_ak4531 *ak4531);
/* --- */
unsigned char regs[0x20];
struct semaphore reg_mutex;
};
-int snd_ak4531_mixer(snd_card_t * card, ak4531_t * _ak4531, ak4531_t ** rak4531);
+int snd_ak4531_mixer(struct snd_card *card, struct snd_ak4531 *_ak4531,
+ struct snd_ak4531 **rak4531);
#endif /* __SOUND_AK4531_CODEC_H */