aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/ad1848.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-12-14 22:19:36 -0500
committerTakashi Iwai <tiwai@suse.de>2011-12-19 04:34:41 -0500
commita67ff6a54095e27093ea501fb143fefe51a536c2 (patch)
tree48cb687a7569a8b6d4051bc9051f565b43803982 /sound/oss/ad1848.c
parent1bba160a0777046967707bbcdc9fb09d334ab2e5 (diff)
ALSA: module_param: make bool parameters really bool
module_param(bool) used to counter-intuitively take an int. In fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy trick. It's time to remove the int/unsigned int option. For this version it'll simply give a warning, but it'll break next kernel version. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/oss/ad1848.c')
-rw-r--r--sound/oss/ad1848.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/oss/ad1848.c b/sound/oss/ad1848.c
index 8a197fd3c57e..98d23bdcaf21 100644
--- a/sound/oss/ad1848.c
+++ b/sound/oss/ad1848.c
@@ -119,9 +119,9 @@ ad1848_port_info;
119static struct address_info cfg; 119static struct address_info cfg;
120static int nr_ad1848_devs; 120static int nr_ad1848_devs;
121 121
122static int deskpro_xl; 122static bool deskpro_xl;
123static int deskpro_m; 123static bool deskpro_m;
124static int soundpro; 124static bool soundpro;
125 125
126static volatile signed char irq2dev[17] = { 126static volatile signed char irq2dev[17] = {
127 -1, -1, -1, -1, -1, -1, -1, -1, 127 -1, -1, -1, -1, -1, -1, -1, -1,
@@ -177,7 +177,7 @@ static struct {
177#ifdef CONFIG_PNP 177#ifdef CONFIG_PNP
178static int isapnp = 1; 178static int isapnp = 1;
179static int isapnpjump; 179static int isapnpjump;
180static int reverse; 180static bool reverse;
181 181
182static int audio_activated; 182static int audio_activated;
183#else 183#else