diff options
author | Tim Blechmann <tim@klingt.org> | 2009-06-11 10:03:34 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-06-11 10:03:34 -0400 |
commit | de0525ca34aa7a65faf6902e3e00956ab80d2ede (patch) | |
tree | b2794308c9ecca325a9be6ee17ef5efe21ec63bc /sound/pci | |
parent | 8338c300642f67af5a8cc279ca5e088c7055b7eb (diff) |
ALSA: lx6464es - support standard alsa module parameters
trivial patch to support the alsa module parameters `index', `id'
and `enable'
Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/lx6464es/lx6464es.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/pci/lx6464es/lx6464es.c b/sound/pci/lx6464es/lx6464es.c index 870bfc58c697..ccf1b38c88ea 100644 --- a/sound/pci/lx6464es/lx6464es.c +++ b/sound/pci/lx6464es/lx6464es.c | |||
@@ -43,6 +43,13 @@ static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; | |||
43 | static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; | 43 | static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; |
44 | static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; | 44 | static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; |
45 | 45 | ||
46 | module_param_array(index, int, NULL, 0444); | ||
47 | MODULE_PARM_DESC(index, "Index value for Digigram LX6464ES interface."); | ||
48 | module_param_array(id, charp, NULL, 0444); | ||
49 | MODULE_PARM_DESC(id, "ID string for Digigram LX6464ES interface."); | ||
50 | module_param_array(enable, bool, NULL, 0444); | ||
51 | MODULE_PARM_DESC(enable, "Enable/disable specific Digigram LX6464ES soundcards."); | ||
52 | |||
46 | static const char card_name[] = "LX6464ES"; | 53 | static const char card_name[] = "LX6464ES"; |
47 | 54 | ||
48 | 55 | ||