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/sstfb.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/sstfb.c')
-rw-r--r-- | drivers/video/sstfb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/sstfb.c b/drivers/video/sstfb.c index 2301c275d63a..111fb32e8769 100644 --- a/drivers/video/sstfb.c +++ b/drivers/video/sstfb.c | |||
@@ -93,11 +93,11 @@ | |||
93 | 93 | ||
94 | /* initialized by setup */ | 94 | /* initialized by setup */ |
95 | 95 | ||
96 | static int vgapass; /* enable VGA passthrough cable */ | 96 | static bool vgapass; /* enable VGA passthrough cable */ |
97 | static int mem; /* mem size in MB, 0 = autodetect */ | 97 | static int mem; /* mem size in MB, 0 = autodetect */ |
98 | static int clipping = 1; /* use clipping (slower, safer) */ | 98 | static bool clipping = 1; /* use clipping (slower, safer) */ |
99 | static int gfxclk; /* force FBI freq in Mhz . Dangerous */ | 99 | static int gfxclk; /* force FBI freq in Mhz . Dangerous */ |
100 | static int slowpci; /* slow PCI settings */ | 100 | static bool slowpci; /* slow PCI settings */ |
101 | 101 | ||
102 | /* | 102 | /* |
103 | Possible default video modes: 800x600@60, 640x480@75, 1024x768@76, 640x480@60 | 103 | Possible default video modes: 800x600@60, 640x480@75, 1024x768@76, 640x480@60 |