diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 08:39:06 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:18:30 -0500 |
commit | 542172f31d41e689988aedcf0d6e67dfe757736a (patch) | |
tree | caad40a7368afc0eb719491b09e84f279b1f9bf6 /sound/isa/wavefront/wavefront_midi.c | |
parent | 346c7a689542285aef9b899eda7693d4b912d60d (diff) |
[ALSA] Remove xxx_t typedefs: ISA Wavefront
Modules: Wavefront drivers
Remove xxx_t typedefs from the ISA Wavefront driver.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/wavefront/wavefront_midi.c')
-rw-r--r-- | sound/isa/wavefront/wavefront_midi.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sound/isa/wavefront/wavefront_midi.c b/sound/isa/wavefront/wavefront_midi.c index 6f51d64fb565..15888ba2169b 100644 --- a/sound/isa/wavefront/wavefront_midi.c +++ b/sound/isa/wavefront/wavefront_midi.c | |||
@@ -91,10 +91,10 @@ write_data (snd_wavefront_midi_t *midi, unsigned char byte) | |||
91 | } | 91 | } |
92 | 92 | ||
93 | static snd_wavefront_midi_t * | 93 | static snd_wavefront_midi_t * |
94 | get_wavefront_midi (snd_rawmidi_substream_t *substream) | 94 | get_wavefront_midi (struct snd_rawmidi_substream *substream) |
95 | 95 | ||
96 | { | 96 | { |
97 | snd_card_t *card; | 97 | struct snd_card *card; |
98 | snd_wavefront_card_t *acard; | 98 | snd_wavefront_card_t *acard; |
99 | 99 | ||
100 | if (substream == NULL || substream->rmidi == NULL) | 100 | if (substream == NULL || substream->rmidi == NULL) |
@@ -230,7 +230,7 @@ static void snd_wavefront_midi_output_write(snd_wavefront_card_t *card) | |||
230 | } | 230 | } |
231 | } | 231 | } |
232 | 232 | ||
233 | static int snd_wavefront_midi_input_open(snd_rawmidi_substream_t * substream) | 233 | static int snd_wavefront_midi_input_open(struct snd_rawmidi_substream *substream) |
234 | { | 234 | { |
235 | unsigned long flags; | 235 | unsigned long flags; |
236 | snd_wavefront_midi_t *midi; | 236 | snd_wavefront_midi_t *midi; |
@@ -252,7 +252,7 @@ static int snd_wavefront_midi_input_open(snd_rawmidi_substream_t * substream) | |||
252 | return 0; | 252 | return 0; |
253 | } | 253 | } |
254 | 254 | ||
255 | static int snd_wavefront_midi_output_open(snd_rawmidi_substream_t * substream) | 255 | static int snd_wavefront_midi_output_open(struct snd_rawmidi_substream *substream) |
256 | { | 256 | { |
257 | unsigned long flags; | 257 | unsigned long flags; |
258 | snd_wavefront_midi_t *midi; | 258 | snd_wavefront_midi_t *midi; |
@@ -274,7 +274,7 @@ static int snd_wavefront_midi_output_open(snd_rawmidi_substream_t * substream) | |||
274 | return 0; | 274 | return 0; |
275 | } | 275 | } |
276 | 276 | ||
277 | static int snd_wavefront_midi_input_close(snd_rawmidi_substream_t * substream) | 277 | static int snd_wavefront_midi_input_close(struct snd_rawmidi_substream *substream) |
278 | { | 278 | { |
279 | unsigned long flags; | 279 | unsigned long flags; |
280 | snd_wavefront_midi_t *midi; | 280 | snd_wavefront_midi_t *midi; |
@@ -295,7 +295,7 @@ static int snd_wavefront_midi_input_close(snd_rawmidi_substream_t * substream) | |||
295 | return 0; | 295 | return 0; |
296 | } | 296 | } |
297 | 297 | ||
298 | static int snd_wavefront_midi_output_close(snd_rawmidi_substream_t * substream) | 298 | static int snd_wavefront_midi_output_close(struct snd_rawmidi_substream *substream) |
299 | { | 299 | { |
300 | unsigned long flags; | 300 | unsigned long flags; |
301 | snd_wavefront_midi_t *midi; | 301 | snd_wavefront_midi_t *midi; |
@@ -315,7 +315,7 @@ static int snd_wavefront_midi_output_close(snd_rawmidi_substream_t * substream) | |||
315 | return 0; | 315 | return 0; |
316 | } | 316 | } |
317 | 317 | ||
318 | static void snd_wavefront_midi_input_trigger(snd_rawmidi_substream_t * substream, int up) | 318 | static void snd_wavefront_midi_input_trigger(struct snd_rawmidi_substream *substream, int up) |
319 | { | 319 | { |
320 | unsigned long flags; | 320 | unsigned long flags; |
321 | snd_wavefront_midi_t *midi; | 321 | snd_wavefront_midi_t *midi; |
@@ -355,7 +355,7 @@ static void snd_wavefront_midi_output_timer(unsigned long data) | |||
355 | snd_wavefront_midi_output_write(card); | 355 | snd_wavefront_midi_output_write(card); |
356 | } | 356 | } |
357 | 357 | ||
358 | static void snd_wavefront_midi_output_trigger(snd_rawmidi_substream_t * substream, int up) | 358 | static void snd_wavefront_midi_output_trigger(struct snd_rawmidi_substream *substream, int up) |
359 | { | 359 | { |
360 | unsigned long flags; | 360 | unsigned long flags; |
361 | snd_wavefront_midi_t *midi; | 361 | snd_wavefront_midi_t *midi; |
@@ -401,7 +401,7 @@ snd_wavefront_midi_interrupt (snd_wavefront_card_t *card) | |||
401 | { | 401 | { |
402 | unsigned long flags; | 402 | unsigned long flags; |
403 | snd_wavefront_midi_t *midi; | 403 | snd_wavefront_midi_t *midi; |
404 | static snd_rawmidi_substream_t *substream = NULL; | 404 | static struct snd_rawmidi_substream *substream = NULL; |
405 | static int mpu = external_mpu; | 405 | static int mpu = external_mpu; |
406 | int max = 128; | 406 | int max = 128; |
407 | unsigned char byte; | 407 | unsigned char byte; |
@@ -554,14 +554,14 @@ snd_wavefront_midi_start (snd_wavefront_card_t *card) | |||
554 | return 0; | 554 | return 0; |
555 | } | 555 | } |
556 | 556 | ||
557 | snd_rawmidi_ops_t snd_wavefront_midi_output = | 557 | struct snd_rawmidi_ops snd_wavefront_midi_output = |
558 | { | 558 | { |
559 | .open = snd_wavefront_midi_output_open, | 559 | .open = snd_wavefront_midi_output_open, |
560 | .close = snd_wavefront_midi_output_close, | 560 | .close = snd_wavefront_midi_output_close, |
561 | .trigger = snd_wavefront_midi_output_trigger, | 561 | .trigger = snd_wavefront_midi_output_trigger, |
562 | }; | 562 | }; |
563 | 563 | ||
564 | snd_rawmidi_ops_t snd_wavefront_midi_input = | 564 | struct snd_rawmidi_ops snd_wavefront_midi_input = |
565 | { | 565 | { |
566 | .open = snd_wavefront_midi_input_open, | 566 | .open = snd_wavefront_midi_input_open, |
567 | .close = snd_wavefront_midi_input_close, | 567 | .close = snd_wavefront_midi_input_close, |