aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/intelfb
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-01-12 18:02:20 -0500
committerRusty Russell <rusty@rustcorp.com.au>2012-01-12 18:02:20 -0500
commit90ab5ee94171b3e28de6bb42ee30b527014e0be7 (patch)
treefcf89889f6e881f2b231d3d20287c08174ce4b54 /drivers/video/intelfb
parent476bc0015bf09dad39d36a8b19f76f0c181d1ec9 (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.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/video/intelfb/intelfbdrv.c b/drivers/video/intelfb/intelfbdrv.c
index 5ba39999105..c94c91fd866 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
230MODULE_LICENSE("Dual BSD/GPL"); 230MODULE_LICENSE("Dual BSD/GPL");
231MODULE_DEVICE_TABLE(pci, intelfb_pci_table); 231MODULE_DEVICE_TABLE(pci, intelfb_pci_table);
232 232
233static int accel = 1; 233static bool accel = 1;
234static int vram = 4; 234static int vram = 4;
235static int hwcursor = 0; 235static bool hwcursor = 0;
236static int mtrr = 1; 236static bool mtrr = 1;
237static int fixed = 0; 237static bool fixed = 0;
238static int noinit = 0; 238static bool noinit = 0;
239static int noregister = 0; 239static bool noregister = 0;
240static int probeonly = 0; 240static bool probeonly = 0;
241static int idonly = 0; 241static bool idonly = 0;
242static int bailearly = 0; 242static int bailearly = 0;
243static int voffset = 48; 243static int voffset = 48;
244static char *mode = NULL; 244static char *mode = NULL;