diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-12 18:02:20 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-12 18:02:20 -0500 |
commit | 90ab5ee94171b3e28de6bb42ee30b527014e0be7 (patch) | |
tree | fcf89889f6e881f2b231d3d20287c08174ce4b54 /drivers/video/intelfb | |
parent | 476bc0015bf09dad39d36a8b19f76f0c181d1ec9 (diff) |
module_param: make bool parameters really bool (drivers & misc)
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.
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/video/intelfb')
-rw-r--r-- | drivers/video/intelfb/intelfbdrv.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/video/intelfb/intelfbdrv.c b/drivers/video/intelfb/intelfbdrv.c index 5ba399991050..c94c91fd8668 100644 --- a/drivers/video/intelfb/intelfbdrv.c +++ b/drivers/video/intelfb/intelfbdrv.c | |||
@@ -230,15 +230,15 @@ MODULE_DESCRIPTION("Framebuffer driver for Intel(R) " SUPPORTED_CHIPSETS | |||
230 | MODULE_LICENSE("Dual BSD/GPL"); | 230 | MODULE_LICENSE("Dual BSD/GPL"); |
231 | MODULE_DEVICE_TABLE(pci, intelfb_pci_table); | 231 | MODULE_DEVICE_TABLE(pci, intelfb_pci_table); |
232 | 232 | ||
233 | static int accel = 1; | 233 | static bool accel = 1; |
234 | static int vram = 4; | 234 | static int vram = 4; |
235 | static int hwcursor = 0; | 235 | static bool hwcursor = 0; |
236 | static int mtrr = 1; | 236 | static bool mtrr = 1; |
237 | static int fixed = 0; | 237 | static bool fixed = 0; |
238 | static int noinit = 0; | 238 | static bool noinit = 0; |
239 | static int noregister = 0; | 239 | static bool noregister = 0; |
240 | static int probeonly = 0; | 240 | static bool probeonly = 0; |
241 | static int idonly = 0; | 241 | static bool idonly = 0; |
242 | static int bailearly = 0; | 242 | static int bailearly = 0; |
243 | static int voffset = 48; | 243 | static int voffset = 48; |
244 | static char *mode = NULL; | 244 | static char *mode = NULL; |