Ignore:
Timestamp:
Jun 9, 2016, 10:38:13 PM (9 years ago)
Author:
David Azarewicz
Message:

Rearrange directory structure
rework makefiles
cleanup files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/drivers/virmidi.c

    r426 r587  
    4646#include <linux/err.h>
    4747#include <linux/platform_device.h>
    48 #include <linux/moduleparam.h>
     48#include <linux/module.h>
    4949#include <sound/core.h>
    5050#include <sound/seq_kernel.h>
     
    6464static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;      /* Index 0-MAX */
    6565static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;       /* ID for this card */
    66 static int enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0};
     66static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0};
    6767static int midi_devs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 4};
    6868
     
    9595        if (err < 0)
    9696                return err;
    97         vmidi = (struct snd_card_virmidi *)card->private_data;
     97        vmidi = card->private_data;
    9898        vmidi->card = card;
    9999
Note: See TracChangeset for help on using the changeset viewer.