mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
ALSA: sscape - Remove invalid __devinitdata to module parameters
Module parameters shouldn't be marked as __devinitdata since they can be referred via sysfs even after probing. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
1cb0fdebae
commit
ed76f652d5
1 changed files with 9 additions and 9 deletions
|
@ -46,15 +46,15 @@ MODULE_FIRMWARE("sndscape.co3");
|
||||||
MODULE_FIRMWARE("sndscape.co4");
|
MODULE_FIRMWARE("sndscape.co4");
|
||||||
MODULE_FIRMWARE("scope.cod");
|
MODULE_FIRMWARE("scope.cod");
|
||||||
|
|
||||||
static int index[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_IDX;
|
static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
|
||||||
static char* id[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_STR;
|
static char* id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
|
||||||
static long port[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_PORT;
|
static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
|
||||||
static long wss_port[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_PORT;
|
static long wss_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
|
||||||
static int irq[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_IRQ;
|
static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ;
|
||||||
static int mpu_irq[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_IRQ;
|
static int mpu_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ;
|
||||||
static int dma[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_DMA;
|
static int dma[SNDRV_CARDS] = SNDRV_DEFAULT_DMA;
|
||||||
static int dma2[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_DMA;
|
static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA;
|
||||||
static bool joystick[SNDRV_CARDS] __devinitdata;
|
static bool joystick[SNDRV_CARDS];
|
||||||
|
|
||||||
module_param_array(index, int, NULL, 0444);
|
module_param_array(index, int, NULL, 0444);
|
||||||
MODULE_PARM_DESC(index, "Index number for SoundScape soundcard");
|
MODULE_PARM_DESC(index, "Index number for SoundScape soundcard");
|
||||||
|
|
Loading…
Reference in a new issue