diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-10-05 12:27:28 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-10-05 12:27:28 -0400 |
commit | ed76f652d5329d9dff0ea7f3953b1357ed7f8e6e (patch) | |
tree | 008f3da338282d735820b494cc9e9bff146afda5 /sound/isa | |
parent | 1cb0fdebae08f6daaac81197d8dde1746e0a1d96 (diff) |
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>
Diffstat (limited to 'sound/isa')
-rw-r--r-- | sound/isa/sscape.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sound/isa/sscape.c b/sound/isa/sscape.c index 279be505b72e..579a59b9e470 100644 --- a/sound/isa/sscape.c +++ b/sound/isa/sscape.c | |||
@@ -46,15 +46,15 @@ MODULE_FIRMWARE("sndscape.co3"); | |||
46 | MODULE_FIRMWARE("sndscape.co4"); | 46 | MODULE_FIRMWARE("sndscape.co4"); |
47 | MODULE_FIRMWARE("scope.cod"); | 47 | MODULE_FIRMWARE("scope.cod"); |
48 | 48 | ||
49 | static int index[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_IDX; | 49 | static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; |
50 | static char* id[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_STR; | 50 | static char* id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; |
51 | static long port[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_PORT; | 51 | static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; |
52 | static long wss_port[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_PORT; | 52 | static long wss_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; |
53 | static int irq[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_IRQ; | 53 | static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; |
54 | static int mpu_irq[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_IRQ; | 54 | static int mpu_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; |
55 | static int dma[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_DMA; | 55 | static int dma[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; |
56 | static int dma2[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_DMA; | 56 | static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; |
57 | static bool joystick[SNDRV_CARDS] __devinitdata; | 57 | static bool joystick[SNDRV_CARDS]; |
58 | 58 | ||
59 | module_param_array(index, int, NULL, 0444); | 59 | module_param_array(index, int, NULL, 0444); |
60 | MODULE_PARM_DESC(index, "Index number for SoundScape soundcard"); | 60 | MODULE_PARM_DESC(index, "Index number for SoundScape soundcard"); |