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/uvesafb.c | |
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/uvesafb.c')
-rw-r--r-- | drivers/video/uvesafb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c index 7f8472cc993b..e7f69ef572dc 100644 --- a/drivers/video/uvesafb.c +++ b/drivers/video/uvesafb.c | |||
@@ -44,11 +44,11 @@ static struct fb_fix_screeninfo uvesafb_fix __devinitdata = { | |||
44 | }; | 44 | }; |
45 | 45 | ||
46 | static int mtrr __devinitdata = 3; /* enable mtrr by default */ | 46 | static int mtrr __devinitdata = 3; /* enable mtrr by default */ |
47 | static int blank = 1; /* enable blanking by default */ | 47 | static bool blank = 1; /* enable blanking by default */ |
48 | static int ypan = 1; /* 0: scroll, 1: ypan, 2: ywrap */ | 48 | static int ypan = 1; /* 0: scroll, 1: ypan, 2: ywrap */ |
49 | static bool pmi_setpal __devinitdata = true; /* use PMI for palette changes */ | 49 | static bool pmi_setpal __devinitdata = true; /* use PMI for palette changes */ |
50 | static int nocrtc __devinitdata; /* ignore CRTC settings */ | 50 | static bool nocrtc __devinitdata; /* ignore CRTC settings */ |
51 | static int noedid __devinitdata; /* don't try DDC transfers */ | 51 | static bool noedid __devinitdata; /* don't try DDC transfers */ |
52 | static int vram_remap __devinitdata; /* set amt. of memory to be used */ | 52 | static int vram_remap __devinitdata; /* set amt. of memory to be used */ |
53 | static int vram_total __devinitdata; /* set total amount of memory */ | 53 | static int vram_total __devinitdata; /* set total amount of memory */ |
54 | static u16 maxclk __devinitdata; /* maximum pixel clock */ | 54 | static u16 maxclk __devinitdata; /* maximum pixel clock */ |