diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-12 17:57:34 -0500 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-01-12 18:28:59 -0500 |
commit | f787f32e67e00b072f46b2ae3c454d2c0a1fcdb7 (patch) | |
tree | d5b5c3a411738b0ff72e52c44a63c2f6f20c78e1 /drivers/video | |
parent | 6b3cbe4094e3eddc9f38b34118c10aeea845eaf2 (diff) |
module_param: make bool parameters really bool (drivers/video/i810)
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: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/i810/i810_main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/i810/i810_main.c b/drivers/video/i810/i810_main.c index 5a4ac3c85331..b83f36190cae 100644 --- a/drivers/video/i810/i810_main.c +++ b/drivers/video/i810/i810_main.c | |||
@@ -135,8 +135,8 @@ static struct pci_driver i810fb_driver = { | |||
135 | static char *mode_option __devinitdata = NULL; | 135 | static char *mode_option __devinitdata = NULL; |
136 | static int vram __devinitdata = 4; | 136 | static int vram __devinitdata = 4; |
137 | static int bpp __devinitdata = 8; | 137 | static int bpp __devinitdata = 8; |
138 | static int mtrr __devinitdata; | 138 | static bool mtrr __devinitdata; |
139 | static int accel __devinitdata; | 139 | static bool accel __devinitdata; |
140 | static int hsync1 __devinitdata; | 140 | static int hsync1 __devinitdata; |
141 | static int hsync2 __devinitdata; | 141 | static int hsync2 __devinitdata; |
142 | static int vsync1 __devinitdata; | 142 | static int vsync1 __devinitdata; |
@@ -144,9 +144,9 @@ static int vsync2 __devinitdata; | |||
144 | static int xres __devinitdata; | 144 | static int xres __devinitdata; |
145 | static int yres; | 145 | static int yres; |
146 | static int vyres __devinitdata; | 146 | static int vyres __devinitdata; |
147 | static int sync __devinitdata; | 147 | static bool sync __devinitdata; |
148 | static int extvga __devinitdata; | 148 | static bool extvga __devinitdata; |
149 | static int dcolor __devinitdata; | 149 | static bool dcolor __devinitdata; |
150 | static bool ddc3 __devinitdata; | 150 | static bool ddc3 __devinitdata; |
151 | 151 | ||
152 | /*------------------------------------------------------------*/ | 152 | /*------------------------------------------------------------*/ |