diff options
| -rw-r--r-- | arch/um/drivers/hostaudio_kern.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/arch/um/drivers/hostaudio_kern.c b/arch/um/drivers/hostaudio_kern.c index 0c46e398cd8f..63c740a85b4c 100644 --- a/arch/um/drivers/hostaudio_kern.c +++ b/arch/um/drivers/hostaudio_kern.c | |||
| @@ -40,6 +40,11 @@ static char *mixer = HOSTAUDIO_DEV_MIXER; | |||
| 40 | " This is used to specify the host mixer device to the hostaudio driver.\n"\ | 40 | " This is used to specify the host mixer device to the hostaudio driver.\n"\ |
| 41 | " The default is \"" HOSTAUDIO_DEV_MIXER "\".\n\n" | 41 | " The default is \"" HOSTAUDIO_DEV_MIXER "\".\n\n" |
| 42 | 42 | ||
| 43 | module_param(dsp, charp, 0644); | ||
| 44 | MODULE_PARM_DESC(dsp, DSP_HELP); | ||
| 45 | module_param(mixer, charp, 0644); | ||
| 46 | MODULE_PARM_DESC(mixer, MIXER_HELP); | ||
| 47 | |||
| 43 | #ifndef MODULE | 48 | #ifndef MODULE |
| 44 | static int set_dsp(char *name, int *add) | 49 | static int set_dsp(char *name, int *add) |
| 45 | { | 50 | { |
| @@ -56,15 +61,6 @@ static int set_mixer(char *name, int *add) | |||
| 56 | } | 61 | } |
| 57 | 62 | ||
| 58 | __uml_setup("mixer=", set_mixer, "mixer=<mixer device>\n" MIXER_HELP); | 63 | __uml_setup("mixer=", set_mixer, "mixer=<mixer device>\n" MIXER_HELP); |
| 59 | |||
| 60 | #else /*MODULE*/ | ||
| 61 | |||
| 62 | module_param(dsp, charp, 0644); | ||
| 63 | MODULE_PARM_DESC(dsp, DSP_HELP); | ||
| 64 | |||
| 65 | module_param(mixer, charp, 0644); | ||
| 66 | MODULE_PARM_DESC(mixer, MIXER_HELP); | ||
| 67 | |||
| 68 | #endif | 64 | #endif |
| 69 | 65 | ||
| 70 | /* /dev/dsp file operations */ | 66 | /* /dev/dsp file operations */ |
