diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 08:27:28 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:18:15 -0500 |
commit | 4a4d2cfd8cbca3076742547157ea135d0be77928 (patch) | |
tree | 44f859e10ebb6b6a03b18927ecf6dc1bbed9ec59 /sound/drivers/virmidi.c | |
parent | 03da312ac080b4f5c9359c233b8812cc93a035fe (diff) |
[ALSA] Remove xxx_t typedefs: Generic drivers
Modules: Generic drivers
Remove xxx_t typedefs from the generic drivers
(dummy, mtpav, serial-u16550 and virmidi).
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/virmidi.c')
-rw-r--r-- | sound/drivers/virmidi.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sound/drivers/virmidi.c b/sound/drivers/virmidi.c index af12185ab8a2..0d2cc6ea73ee 100644 --- a/sound/drivers/virmidi.c +++ b/sound/drivers/virmidi.c | |||
@@ -75,17 +75,17 @@ MODULE_PARM_DESC(enable, "Enable this soundcard."); | |||
75 | module_param_array(midi_devs, int, NULL, 0444); | 75 | module_param_array(midi_devs, int, NULL, 0444); |
76 | MODULE_PARM_DESC(midi_devs, "MIDI devices # (1-8)"); | 76 | MODULE_PARM_DESC(midi_devs, "MIDI devices # (1-8)"); |
77 | 77 | ||
78 | typedef struct snd_card_virmidi { | 78 | struct snd_card_virmidi { |
79 | snd_card_t *card; | 79 | struct snd_card *card; |
80 | snd_rawmidi_t *midi[MAX_MIDI_DEVICES]; | 80 | struct snd_rawmidi *midi[MAX_MIDI_DEVICES]; |
81 | } snd_card_virmidi_t; | 81 | }; |
82 | 82 | ||
83 | static snd_card_t *snd_virmidi_cards[SNDRV_CARDS] = SNDRV_DEFAULT_PTR; | 83 | static struct snd_card *snd_virmidi_cards[SNDRV_CARDS] = SNDRV_DEFAULT_PTR; |
84 | 84 | ||
85 | 85 | ||
86 | static int __init snd_card_virmidi_probe(int dev) | 86 | static int __init snd_card_virmidi_probe(int dev) |
87 | { | 87 | { |
88 | snd_card_t *card; | 88 | struct snd_card *card; |
89 | struct snd_card_virmidi *vmidi; | 89 | struct snd_card_virmidi *vmidi; |
90 | int idx, err; | 90 | int idx, err; |
91 | 91 | ||
@@ -103,8 +103,8 @@ static int __init snd_card_virmidi_probe(int dev) | |||
103 | midi_devs[dev] = MAX_MIDI_DEVICES; | 103 | midi_devs[dev] = MAX_MIDI_DEVICES; |
104 | } | 104 | } |
105 | for (idx = 0; idx < midi_devs[dev]; idx++) { | 105 | for (idx = 0; idx < midi_devs[dev]; idx++) { |
106 | snd_rawmidi_t *rmidi; | 106 | struct snd_rawmidi *rmidi; |
107 | snd_virmidi_dev_t *rdev; | 107 | struct snd_virmidi_dev *rdev; |
108 | if ((err = snd_virmidi_new(card, idx, &rmidi)) < 0) | 108 | if ((err = snd_virmidi_new(card, idx, &rmidi)) < 0) |
109 | goto __nodev; | 109 | goto __nodev; |
110 | rdev = rmidi->private_data; | 110 | rdev = rmidi->private_data; |