Commit 698444f3 authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[ALSA] Fix the type of enable module option

Fix the type of enable module option to bool.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d1f38cf9
...@@ -58,7 +58,7 @@ MODULE_PARM_DESC(spdif_aclink, "S/PDIF over AC-link."); ...@@ -58,7 +58,7 @@ MODULE_PARM_DESC(spdif_aclink, "S/PDIF over AC-link.");
/* just for backward compatibility */ /* just for backward compatibility */
static int enable; static int enable;
module_param(enable, int, 0444); module_param(enable, bool, 0444);
/* /*
......
...@@ -52,7 +52,7 @@ MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (default 48000Hz)."); ...@@ -52,7 +52,7 @@ MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (default 48000Hz).");
/* just for backward compatibility */ /* just for backward compatibility */
static int enable; static int enable;
module_param(enable, int, 0444); module_param(enable, bool, 0444);
/* /*
......
...@@ -63,7 +63,7 @@ MODULE_PARM_DESC(position_fix, "Fix DMA pointer (0 = auto, 1 = none, 2 = POSBUF, ...@@ -63,7 +63,7 @@ MODULE_PARM_DESC(position_fix, "Fix DMA pointer (0 = auto, 1 = none, 2 = POSBUF,
/* just for backward compatibility */ /* just for backward compatibility */
static int enable; static int enable;
module_param(enable, int, 0444); module_param(enable, bool, 0444);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_SUPPORTED_DEVICE("{{Intel, ICH6}," MODULE_SUPPORTED_DEVICE("{{Intel, ICH6},"
......
...@@ -89,7 +89,7 @@ MODULE_PARM_DESC(xbox, "Set to 1 for Xbox, if you have problems with the AC'97 c ...@@ -89,7 +89,7 @@ MODULE_PARM_DESC(xbox, "Set to 1 for Xbox, if you have problems with the AC'97 c
/* just for backward compatibility */ /* just for backward compatibility */
static int enable; static int enable;
module_param(enable, int, 0444); module_param(enable, bool, 0444);
static int joystick; static int joystick;
module_param(joystick, int, 0444); module_param(joystick, int, 0444);
......
...@@ -69,7 +69,7 @@ MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (0 = auto-detect)."); ...@@ -69,7 +69,7 @@ MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (0 = auto-detect).");
/* just for backward compatibility */ /* just for backward compatibility */
static int enable; static int enable;
module_param(enable, int, 0444); module_param(enable, bool, 0444);
/* /*
* Direct registers * Direct registers
......
...@@ -105,7 +105,7 @@ MODULE_PARM_DESC(dxs_support, "Support for DXS channels (0 = auto, 1 = enable, 2 ...@@ -105,7 +105,7 @@ MODULE_PARM_DESC(dxs_support, "Support for DXS channels (0 = auto, 1 = enable, 2
/* just for backward compatibility */ /* just for backward compatibility */
static int enable; static int enable;
module_param(enable, int, 0444); module_param(enable, bool, 0444);
/* revision numbers for via686 */ /* revision numbers for via686 */
......
...@@ -68,7 +68,7 @@ MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (default 48000Hz)."); ...@@ -68,7 +68,7 @@ MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (default 48000Hz).");
/* just for backward compatibility */ /* just for backward compatibility */
static int enable; static int enable;
module_param(enable, int, 0444); module_param(enable, bool, 0444);
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment