[alsa-devel] [PATCH] alsa: lx6464es - support index module parameter
Tim Blechmann
tim at klingt.org
Wed Jun 10 23:41:54 CEST 2009
trivial patch to put the device to a specific index
Signed-off-by: Tim Blechmann <tim at klingt.org>
---
sound/pci/lx6464es/lx6464es.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/sound/pci/lx6464es/lx6464es.c b/sound/pci/lx6464es/lx6464es.c
index 870bfc5..dd0f12b 100644
--- a/sound/pci/lx6464es/lx6464es.c
+++ b/sound/pci/lx6464es/lx6464es.c
@@ -43,6 +43,9 @@ 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;
+module_param_array(index, int, NULL, 0444);
+MODULE_PARM_DESC(index, "Index value for Digigram LX6464ES interface.");
+
static const char card_name[] = "LX6464ES";
--
1.6.2.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20090610/bbb46008/attachment.sig
More information about the Alsa-devel
mailing list