diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-12-14 22:19:36 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-12-19 04:34:41 -0500 |
commit | a67ff6a54095e27093ea501fb143fefe51a536c2 (patch) | |
tree | 48cb687a7569a8b6d4051bc9051f565b43803982 /sound/oss/ad1848.c | |
parent | 1bba160a0777046967707bbcdc9fb09d334ab2e5 (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.c | 8 |
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; | |||
119 | static struct address_info cfg; | 119 | static struct address_info cfg; |
120 | static int nr_ad1848_devs; | 120 | static int nr_ad1848_devs; |
121 | 121 | ||
122 | static int deskpro_xl; | 122 | static bool deskpro_xl; |
123 | static int deskpro_m; | 123 | static bool deskpro_m; |
124 | static int soundpro; | 124 | static bool soundpro; |
125 | 125 | ||
126 | static volatile signed char irq2dev[17] = { | 126 | static 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 |
178 | static int isapnp = 1; | 178 | static int isapnp = 1; |
179 | static int isapnpjump; | 179 | static int isapnpjump; |
180 | static int reverse; | 180 | static bool reverse; |
181 | 181 | ||
182 | static int audio_activated; | 182 | static int audio_activated; |
183 | #else | 183 | #else |