From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] alsa: lx6464es - support index module parameter Date: Thu, 11 Jun 2009 03:01:03 +0200 Message-ID: References: <20090610234154.28ba1585@thinkpad> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 6D42C24567 for ; Thu, 11 Jun 2009 03:01:03 +0200 (CEST) In-Reply-To: <20090610234154.28ba1585@thinkpad> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Tim Blechmann Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Wed, 10 Jun 2009 23:41:54 +0200, Tim Blechmann wrote: > > trivial patch to put the device to a specific index > > Signed-off-by: Tim Blechmann > --- > 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."); Please define the similar things for id and enable options. thanks, Takashi