diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-02-20 06:12:58 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 06:00:13 -0400 |
commit | 34b6757dc7ce0e9d5d3930b29d53a7bcb0fde047 (patch) | |
tree | bcf34f0ee44809395dda4e459d7ec68a3f09f90c /sound/pci/aw2/aw2-alsa.c | |
parent | 98f2a97f207a776603173ee96327d977e592579d (diff) |
[ALSA] aw2 - Add missing module parameters
Added the missing declarations for module parameters.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/aw2/aw2-alsa.c')
-rw-r--r-- | sound/pci/aw2/aw2-alsa.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/pci/aw2/aw2-alsa.c b/sound/pci/aw2/aw2-alsa.c index 74af639b9132..24e3e4961d9f 100644 --- a/sound/pci/aw2/aw2-alsa.c +++ b/sound/pci/aw2/aw2-alsa.c | |||
@@ -157,6 +157,13 @@ static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; | |||
157 | static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; | 157 | static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; |
158 | static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; | 158 | static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; |
159 | 159 | ||
160 | module_param_array(index, int, NULL, 0444); | ||
161 | MODULE_PARM_DESC(index, "Index value for Audiowerk2 soundcard."); | ||
162 | module_param_array(id, charp, NULL, 0444); | ||
163 | MODULE_PARM_DESC(id, "ID string for the Audiowerk2 soundcard."); | ||
164 | module_param_array(enable, bool, NULL, 0444); | ||
165 | MODULE_PARM_DESC(enable, "Enable Audiowerk2 soundcard."); | ||
166 | |||
160 | static struct pci_device_id snd_aw2_ids[] = { | 167 | static struct pci_device_id snd_aw2_ids[] = { |
161 | {PCI_VENDOR_ID_SAA7146, PCI_DEVICE_ID_SAA7146, PCI_ANY_ID, PCI_ANY_ID, | 168 | {PCI_VENDOR_ID_SAA7146, PCI_DEVICE_ID_SAA7146, PCI_ANY_ID, PCI_ANY_ID, |
162 | 0, 0, 0}, | 169 | 0, 0, 0}, |