diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-12-19 13:32:48 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-12-19 13:34:44 +0400 |
commit | cde944803d12450f70f0adc4d418afcd8e42db2e (patch) | |
tree | 267515fde73d94c12e9bdb82e69fb016484dd1ae /sound/pci/cs5530.c | |
parent | a67ff6a54095e27093ea501fb143fefe51a536c2 (diff) | |
download | linux-cde944803d12450f70f0adc4d418afcd8e42db2e.tar.xz |
ALSA: Add missing module parameters for als300 and cs5530 drivers
These drviers defined only variables but didn't declare as module
parameters. Also fix the enable variable to bool type.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cs5530.c')
-rw-r--r-- | sound/pci/cs5530.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sound/pci/cs5530.c b/sound/pci/cs5530.c index 958f4949e973..c47cabff2bfa 100644 --- a/sound/pci/cs5530.c +++ b/sound/pci/cs5530.c @@ -50,7 +50,14 @@ MODULE_LICENSE("GPL"); static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; -static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; +static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; + +module_param_array(index, int, NULL, 0444); +MODULE_PARM_DESC(index, "Index value for CS5530 Audio driver."); +module_param_array(id, charp, NULL, 0444); +MODULE_PARM_DESC(id, "ID string for CS5530 Audio driver."); +module_param_array(enable, bool, NULL, 0444); +MODULE_PARM_DESC(enable, "Enable CS5530 Audio driver."); struct snd_cs5530 { struct snd_card *card; |