diff options
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; |