aboutsummaryrefslogtreecommitdiffstats
path: root/sound/isa/sgalaxy.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-11-17 08:42:36 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:18:39 -0500
commit11ff5c62b1327cc7bdcfcf66b4b718495fea0043 (patch)
treea6ed8733002ac196993a091504d804dca48317a1 /sound/isa/sgalaxy.c
parentbe6245373f46eb21839ba1b54c83bc7cc8274208 (diff)
[ALSA] Remove xxx_t typedefs: ISA SB/AD-clone
Modules: ALS100 driver,AZT2320 driver,DT019x driver,Sound Galaxy driver Remove xxx_t typedefs from the ISA SB/AD-clone drivers (als100, azt2320, dt019x, sgalaxy). Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/sgalaxy.c')
-rw-r--r--sound/isa/sgalaxy.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/isa/sgalaxy.c b/sound/isa/sgalaxy.c
index 52f2294da62b..c16b53ba7ea6 100644
--- a/sound/isa/sgalaxy.c
+++ b/sound/isa/sgalaxy.c
@@ -65,7 +65,7 @@ MODULE_PARM_DESC(dma1, "DMA1 # for Sound Galaxy driver.");
65#define SGALAXY_AUXC_LEFT 18 65#define SGALAXY_AUXC_LEFT 18
66#define SGALAXY_AUXC_RIGHT 19 66#define SGALAXY_AUXC_RIGHT 19
67 67
68static snd_card_t *snd_sgalaxy_cards[SNDRV_CARDS] = SNDRV_DEFAULT_PTR; 68static struct snd_card *snd_sgalaxy_cards[SNDRV_CARDS] = SNDRV_DEFAULT_PTR;
69 69
70#define PFX "sgalaxy: " 70#define PFX "sgalaxy: "
71 71
@@ -75,7 +75,7 @@ static snd_card_t *snd_sgalaxy_cards[SNDRV_CARDS] = SNDRV_DEFAULT_PTR;
75 75
76#define AD1848P1( port, x ) ( port + c_d_c_AD1848##x ) 76#define AD1848P1( port, x ) ( port + c_d_c_AD1848##x )
77 77
78/* from lowlevel/sb/sb.c - to avoid having to allocate a sb_t for the */ 78/* from lowlevel/sb/sb.c - to avoid having to allocate a struct snd_sb for the */
79/* short time we actually need it.. */ 79/* short time we actually need it.. */
80 80
81static int snd_sgalaxy_sbdsp_reset(unsigned long port) 81static int snd_sgalaxy_sbdsp_reset(unsigned long port)
@@ -180,10 +180,10 @@ AD1848_DOUBLE("Aux Playback Switch", 0, SGALAXY_AUXC_LEFT, SGALAXY_AUXC_RIGHT, 7
180AD1848_DOUBLE("Aux Playback Volume", 0, SGALAXY_AUXC_LEFT, SGALAXY_AUXC_RIGHT, 0, 0, 31, 0) 180AD1848_DOUBLE("Aux Playback Volume", 0, SGALAXY_AUXC_LEFT, SGALAXY_AUXC_RIGHT, 0, 0, 31, 0)
181}; 181};
182 182
183static int __init snd_sgalaxy_mixer(ad1848_t *chip) 183static int __init snd_sgalaxy_mixer(struct snd_ad1848 *chip)
184{ 184{
185 snd_card_t *card = chip->card; 185 struct snd_card *card = chip->card;
186 snd_ctl_elem_id_t id1, id2; 186 struct snd_ctl_elem_id id1, id2;
187 unsigned int idx; 187 unsigned int idx;
188 int err; 188 int err;
189 189
@@ -221,8 +221,8 @@ static int __init snd_sgalaxy_probe(int dev)
221 static int possible_irqs[] = {7, 9, 10, 11, -1}; 221 static int possible_irqs[] = {7, 9, 10, 11, -1};
222 static int possible_dmas[] = {1, 3, 0, -1}; 222 static int possible_dmas[] = {1, 3, 0, -1};
223 int err, xirq, xdma1; 223 int err, xirq, xdma1;
224 snd_card_t *card; 224 struct snd_card *card;
225 ad1848_t *chip; 225 struct snd_ad1848 *chip;
226 226
227 if (sbport[dev] == SNDRV_AUTO_PORT) { 227 if (sbport[dev] == SNDRV_AUTO_PORT) {
228 snd_printk(KERN_ERR PFX "specify SB port\n"); 228 snd_printk(KERN_ERR PFX "specify SB port\n");