diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-10-20 10:53:49 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-11-04 07:19:16 -0500 |
commit | 698444f31788bd9992f7c31bcc4862d82f985890 (patch) | |
tree | e201f10e133d84a26864f72ad807f5d3223f327f | |
parent | d1f38cf9f8fcb486a027bb5adc214558d7830f45 (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.c | 2 | ||||
-rw-r--r-- | sound/pci/atiixp_modem.c | 2 | ||||
-rw-r--r-- | sound/pci/hda/hda_intel.c | 2 | ||||
-rw-r--r-- | sound/pci/intel8x0.c | 2 | ||||
-rw-r--r-- | sound/pci/intel8x0m.c | 2 | ||||
-rw-r--r-- | sound/pci/via82xx.c | 2 | ||||
-rw-r--r-- | sound/pci/via82xx_modem.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/sound/pci/atiixp.c b/sound/pci/atiixp.c index 14f912ae40da..a9314363abd8 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."); | |||
58 | 58 | ||
59 | /* just for backward compatibility */ | 59 | /* just for backward compatibility */ |
60 | static int enable; | 60 | static int enable; |
61 | module_param(enable, int, 0444); | 61 | module_param(enable, bool, 0444); |
62 | 62 | ||
63 | 63 | ||
64 | /* | 64 | /* |
diff --git a/sound/pci/atiixp_modem.c b/sound/pci/atiixp_modem.c index ab39c0b7ccee..210eb676945c 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)."); | |||
52 | 52 | ||
53 | /* just for backward compatibility */ | 53 | /* just for backward compatibility */ |
54 | static int enable; | 54 | static int enable; |
55 | module_param(enable, int, 0444); | 55 | module_param(enable, bool, 0444); |
56 | 56 | ||
57 | 57 | ||
58 | /* | 58 | /* |
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 1426fa0ac6d9..9d1412a9f2f8 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, | |||
63 | 63 | ||
64 | /* just for backward compatibility */ | 64 | /* just for backward compatibility */ |
65 | static int enable; | 65 | static int enable; |
66 | module_param(enable, int, 0444); | 66 | module_param(enable, bool, 0444); |
67 | 67 | ||
68 | MODULE_LICENSE("GPL"); | 68 | MODULE_LICENSE("GPL"); |
69 | MODULE_SUPPORTED_DEVICE("{{Intel, ICH6}," | 69 | MODULE_SUPPORTED_DEVICE("{{Intel, ICH6}," |
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c index d16ef527716d..68d0ed033d3a 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 | |||
89 | 89 | ||
90 | /* just for backward compatibility */ | 90 | /* just for backward compatibility */ |
91 | static int enable; | 91 | static int enable; |
92 | module_param(enable, int, 0444); | 92 | module_param(enable, bool, 0444); |
93 | static int joystick; | 93 | static int joystick; |
94 | module_param(joystick, int, 0444); | 94 | module_param(joystick, int, 0444); |
95 | 95 | ||
diff --git a/sound/pci/intel8x0m.c b/sound/pci/intel8x0m.c index 314f3d8caeae..42601f0e6a57 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)."); | |||
69 | 69 | ||
70 | /* just for backward compatibility */ | 70 | /* just for backward compatibility */ |
71 | static int enable; | 71 | static int enable; |
72 | module_param(enable, int, 0444); | 72 | module_param(enable, bool, 0444); |
73 | 73 | ||
74 | /* | 74 | /* |
75 | * Direct registers | 75 | * Direct registers |
diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c index eb35b446235c..3fdb3b1d4e83 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 | |||
105 | 105 | ||
106 | /* just for backward compatibility */ | 106 | /* just for backward compatibility */ |
107 | static int enable; | 107 | static int enable; |
108 | module_param(enable, int, 0444); | 108 | module_param(enable, bool, 0444); |
109 | 109 | ||
110 | 110 | ||
111 | /* revision numbers for via686 */ | 111 | /* revision numbers for via686 */ |
diff --git a/sound/pci/via82xx_modem.c b/sound/pci/via82xx_modem.c index db7768124f52..ff56eb8552e6 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)."); | |||
68 | 68 | ||
69 | /* just for backward compatibility */ | 69 | /* just for backward compatibility */ |
70 | static int enable; | 70 | static int enable; |
71 | module_param(enable, int, 0444); | 71 | module_param(enable, bool, 0444); |
72 | 72 | ||
73 | 73 | ||
74 | /* | 74 | /* |