Changeset 587 for GPL/trunk/alsa-kernel/drivers/virmidi.c
- Timestamp:
- Jun 9, 2016, 10:38:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/drivers/virmidi.c
r426 r587 46 46 #include <linux/err.h> 47 47 #include <linux/platform_device.h> 48 #include <linux/module param.h>48 #include <linux/module.h> 49 49 #include <sound/core.h> 50 50 #include <sound/seq_kernel.h> … … 64 64 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 65 65 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ 66 static intenable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0};66 static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0}; 67 67 static int midi_devs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 4}; 68 68 … … 95 95 if (err < 0) 96 96 return err; 97 vmidi = (struct snd_card_virmidi *)card->private_data;97 vmidi = card->private_data; 98 98 vmidi->card = card; 99 99
Note:
See TracChangeset
for help on using the changeset viewer.