summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-10-20 16:53:49 +0200
committerJaroslav Kysela <perex@suse.cz>2005-11-04 13:19:16 +0100
commit698444f31788bd9992f7c31bcc4862d82f985890 (patch)
treee201f10e133d84a26864f72ad807f5d3223f327f
parentd1f38cf9f8fcb486a027bb5adc214558d7830f45 (diff)
[ALSA] Fix the type of enable module option
Fix the type of enable module option to bool. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/atiixp.c2
-rw-r--r--sound/pci/atiixp_modem.c2
-rw-r--r--sound/pci/hda/hda_intel.c2
-rw-r--r--sound/pci/intel8x0.c2
-rw-r--r--sound/pci/intel8x0m.c2
-rw-r--r--sound/pci/via82xx.c2
-rw-r--r--sound/pci/via82xx_modem.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/sound/pci/atiixp.c b/sound/pci/atiixp.c
index 14f912ae40d..a9314363abd 100644
--- a/sound/pci/atiixp.c
+++ b/sound/pci/atiixp.c
@@ -58,7 +58,7 @@ MODULE_PARM_DESC(spdif_aclink, "S/PDIF over AC-link.");
/* just for backward compatibility */
static int enable;
-module_param(enable, int, 0444);
+module_param(enable, bool, 0444);
/*
diff --git a/sound/pci/atiixp_modem.c b/sound/pci/atiixp_modem.c
index ab39c0b7cce..210eb676945 100644
--- a/sound/pci/atiixp_modem.c
+++ b/sound/pci/atiixp_modem.c
@@ -52,7 +52,7 @@ MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (default 48000Hz).");
/* just for backward compatibility */
static int enable;
-module_param(enable, int, 0444);
+module_param(enable, bool, 0444);
/*
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 1426fa0ac6d..9d1412a9f2f 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -63,7 +63,7 @@ MODULE_PARM_DESC(position_fix, "Fix DMA pointer (0 = auto, 1 = none, 2 = POSBUF,
/* just for backward compatibility */
static int enable;
-module_param(enable, int, 0444);
+module_param(enable, bool, 0444);
MODULE_LICENSE("GPL");
MODULE_SUPPORTED_DEVICE("{{Intel, ICH6},"
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c
index d16ef527716..68d0ed033d3 100644
--- a/sound/pci/intel8x0.c
+++ b/sound/pci/intel8x0.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 */
static int enable;
-module_param(enable, int, 0444);
+module_param(enable, bool, 0444);
static int joystick;
module_param(joystick, int, 0444);
diff --git a/sound/pci/intel8x0m.c b/sound/pci/intel8x0m.c
index 314f3d8caea..42601f0e6a5 100644
--- a/sound/pci/intel8x0m.c
+++ b/sound/pci/intel8x0m.c
@@ -69,7 +69,7 @@ MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (0 = auto-detect).");
/* just for backward compatibility */
static int enable;
-module_param(enable, int, 0444);
+module_param(enable, bool, 0444);
/*
* Direct registers
diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c
index eb35b446235..3fdb3b1d4e8 100644
--- a/sound/pci/via82xx.c
+++ b/sound/pci/via82xx.c
@@ -105,7 +105,7 @@ MODULE_PARM_DESC(dxs_support, "Support for DXS channels (0 = auto, 1 = enable, 2
/* just for backward compatibility */
static int enable;
-module_param(enable, int, 0444);
+module_param(enable, bool, 0444);
/* revision numbers for via686 */
diff --git a/sound/pci/via82xx_modem.c b/sound/pci/via82xx_modem.c
index db7768124f5..ff56eb8552e 100644
--- a/sound/pci/via82xx_modem.c
+++ b/sound/pci/via82xx_modem.c
@@ -68,7 +68,7 @@ MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (default 48000Hz).");
/* just for backward compatibility */
static int enable;
-module_param(enable, int, 0444);
+module_param(enable, bool, 0444);
/*