Skip to contentSkip to conversation

echoaudio, add missing module_param's

PATCH In review Giuliano Pochini 3 participants 3 messages Apr 12, 2006 – Apr 13, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 echoaudio, add missing module_param's

Add missing module_param's.

pci/echoaudio/echoaudio.c +7 -0
diff -dup alsa-driver__orig/pci/echoaudio/echoaudio.c alsa-driver/pci/echoaudio/echoaudio.c
@@ -26,6 +26,13 @@ static int index[SNDRV_CARDS] = SNDRV_DE
 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 " ECHOCARD_NAME " soundcard.");
+module_param_array(id, charp, NULL, 0444);
+MODULE_PARM_DESC(id, "ID string for " ECHOCARD_NAME " soundcard.");
+module_param_array(enable, bool, NULL, 0444);
+MODULE_PARM_DESC(enable, "Enable " ECHOCARD_NAME " soundcard.");
+
 static unsigned int channels_list[10] = {1, 2, 4, 6, 8, 10, 12, 14, 16, 999999};
 
 

--
Giuliano.

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

#1 lore raw

At Wed, 12 Apr 2006 21:56:52 +0200,

Quoted 3 lines · Giuliano Pochini

Add missing module_param's.

Heh, I was faster ;)

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

#2 lore raw
Quoted 7 lines · Takashi Iwai

At Wed, 12 Apr 2006 21:56:52 +0200,

Quoted 3 lines · Giuliano Pochini

Add missing module_param's.

Heh, I was faster ;)

I can do some work only from 8pm... I can't be that fast.

--
Giuliano.

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642