aboutsummaryrefslogtreecommitdiffstats
path: root/sound/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'sound/drivers')
-rw-r--r--sound/drivers/virmidi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/drivers/virmidi.c b/sound/drivers/virmidi.c
index a7b9241fff3c..9f36a6472478 100644
--- a/sound/drivers/virmidi.c
+++ b/sound/drivers/virmidi.c
@@ -61,7 +61,7 @@ MODULE_DESCRIPTION("Dummy soundcard for virtual rawmidi devices");
61MODULE_LICENSE("GPL"); 61MODULE_LICENSE("GPL");
62MODULE_SUPPORTED_DEVICE("{{ALSA,Virtual rawmidi device}}"); 62MODULE_SUPPORTED_DEVICE("{{ALSA,Virtual rawmidi device}}");
63 63
64#define MAX_MIDI_DEVICES 8 64#define MAX_MIDI_DEVICES 4
65 65
66static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 66static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
67static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ 67static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
@@ -75,7 +75,7 @@ MODULE_PARM_DESC(id, "ID string for virmidi soundcard.");
75module_param_array(enable, bool, NULL, 0444); 75module_param_array(enable, bool, NULL, 0444);
76MODULE_PARM_DESC(enable, "Enable this soundcard."); 76MODULE_PARM_DESC(enable, "Enable this soundcard.");
77module_param_array(midi_devs, int, NULL, 0444); 77module_param_array(midi_devs, int, NULL, 0444);
78MODULE_PARM_DESC(midi_devs, "MIDI devices # (1-8)"); 78MODULE_PARM_DESC(midi_devs, "MIDI devices # (1-4)");
79 79
80struct snd_card_virmidi { 80struct snd_card_virmidi {
81 struct snd_card *card; 81 struct snd_card *card;