diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 09:00:18 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:19:13 -0500 |
commit | ab0c7d72c32d703d1a2833ce2a1920cd3b46b131 (patch) | |
tree | 6d5ed4991fd9b463fa929899af0ddf0cde158def /sound/pci/ice1712/revo.c | |
parent | 6ca308d4edd51c4f34ffff94ae0bbf193087d89f (diff) |
[ALSA] Remove xxx_t typedefs: PCI ICE1724
Modules: ICE1724 driver,ICE1712 driver
Remove xxx_t typedefs from the PCI ICE1724 driver.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ice1712/revo.c')
-rw-r--r-- | sound/pci/ice1712/revo.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sound/pci/ice1712/revo.c b/sound/pci/ice1712/revo.c index 1fe21009ca84..664b738bb647 100644 --- a/sound/pci/ice1712/revo.c +++ b/sound/pci/ice1712/revo.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include "envy24ht.h" | 33 | #include "envy24ht.h" |
34 | #include "revo.h" | 34 | #include "revo.h" |
35 | 35 | ||
36 | static void revo_i2s_mclk_changed(ice1712_t *ice) | 36 | static void revo_i2s_mclk_changed(struct snd_ice1712 *ice) |
37 | { | 37 | { |
38 | /* assert PRST# to converters; MT05 bit 7 */ | 38 | /* assert PRST# to converters; MT05 bit 7 */ |
39 | outb(inb(ICEMT1724(ice, AC97_CMD)) | 0x80, ICEMT1724(ice, AC97_CMD)); | 39 | outb(inb(ICEMT1724(ice, AC97_CMD)) | 0x80, ICEMT1724(ice, AC97_CMD)); |
@@ -45,7 +45,7 @@ static void revo_i2s_mclk_changed(ice1712_t *ice) | |||
45 | /* | 45 | /* |
46 | * change the rate of envy24HT, AK4355 and AK4381 | 46 | * change the rate of envy24HT, AK4355 and AK4381 |
47 | */ | 47 | */ |
48 | static void revo_set_rate_val(akm4xxx_t *ak, unsigned int rate) | 48 | static void revo_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) |
49 | { | 49 | { |
50 | unsigned char old, tmp, dfs; | 50 | unsigned char old, tmp, dfs; |
51 | int reg, shift; | 51 | int reg, shift; |
@@ -87,7 +87,7 @@ static void revo_set_rate_val(akm4xxx_t *ak, unsigned int rate) | |||
87 | * initialize the chips on M-Audio Revolution cards | 87 | * initialize the chips on M-Audio Revolution cards |
88 | */ | 88 | */ |
89 | 89 | ||
90 | static akm4xxx_t akm_revo_front __devinitdata = { | 90 | static struct snd_akm4xxx akm_revo_front __devinitdata = { |
91 | .type = SND_AK4381, | 91 | .type = SND_AK4381, |
92 | .num_dacs = 2, | 92 | .num_dacs = 2, |
93 | .ops = { | 93 | .ops = { |
@@ -107,7 +107,7 @@ static struct snd_ak4xxx_private akm_revo_front_priv __devinitdata = { | |||
107 | .mask_flags = 0, | 107 | .mask_flags = 0, |
108 | }; | 108 | }; |
109 | 109 | ||
110 | static akm4xxx_t akm_revo_surround __devinitdata = { | 110 | static struct snd_akm4xxx akm_revo_surround __devinitdata = { |
111 | .type = SND_AK4355, | 111 | .type = SND_AK4355, |
112 | .idx_offset = 1, | 112 | .idx_offset = 1, |
113 | .num_dacs = 6, | 113 | .num_dacs = 6, |
@@ -128,9 +128,9 @@ static struct snd_ak4xxx_private akm_revo_surround_priv __devinitdata = { | |||
128 | .mask_flags = 0, | 128 | .mask_flags = 0, |
129 | }; | 129 | }; |
130 | 130 | ||
131 | static int __devinit revo_init(ice1712_t *ice) | 131 | static int __devinit revo_init(struct snd_ice1712 *ice) |
132 | { | 132 | { |
133 | akm4xxx_t *ak; | 133 | struct snd_akm4xxx *ak; |
134 | int err; | 134 | int err; |
135 | 135 | ||
136 | /* determine I2C, DACs and ADCs */ | 136 | /* determine I2C, DACs and ADCs */ |
@@ -147,7 +147,7 @@ static int __devinit revo_init(ice1712_t *ice) | |||
147 | ice->gpio.i2s_mclk_changed = revo_i2s_mclk_changed; | 147 | ice->gpio.i2s_mclk_changed = revo_i2s_mclk_changed; |
148 | 148 | ||
149 | /* second stage of initialization, analog parts and others */ | 149 | /* second stage of initialization, analog parts and others */ |
150 | ak = ice->akm = kcalloc(2, sizeof(akm4xxx_t), GFP_KERNEL); | 150 | ak = ice->akm = kcalloc(2, sizeof(struct snd_akm4xxx), GFP_KERNEL); |
151 | if (! ak) | 151 | if (! ak) |
152 | return -ENOMEM; | 152 | return -ENOMEM; |
153 | ice->akm_codecs = 2; | 153 | ice->akm_codecs = 2; |
@@ -166,7 +166,7 @@ static int __devinit revo_init(ice1712_t *ice) | |||
166 | } | 166 | } |
167 | 167 | ||
168 | 168 | ||
169 | static int __devinit revo_add_controls(ice1712_t *ice) | 169 | static int __devinit revo_add_controls(struct snd_ice1712 *ice) |
170 | { | 170 | { |
171 | int err; | 171 | int err; |
172 | 172 | ||