aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/aty
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/aty
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/aty')
-rw-r--r--drivers/video/aty/atyfb_base.c4
-rw-r--r--drivers/video/aty/radeon_base.c18
2 files changed, 11 insertions, 11 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c
index 44bdce4242ad..622f12b62a47 100644
--- a/drivers/video/aty/atyfb_base.c
+++ b/drivers/video/aty/atyfb_base.c
@@ -301,9 +301,9 @@ static struct fb_ops atyfb_ops = {
301 .fb_sync = atyfb_sync, 301 .fb_sync = atyfb_sync,
302}; 302};
303 303
304static int noaccel; 304static bool noaccel;
305#ifdef CONFIG_MTRR 305#ifdef CONFIG_MTRR
306static int nomtrr; 306static bool nomtrr;
307#endif 307#endif
308static int vram; 308static int vram;
309static int pll; 309static int pll;
diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c
index 150684882ef7..ce1506b75adf 100644
--- a/drivers/video/aty/radeon_base.c
+++ b/drivers/video/aty/radeon_base.c
@@ -263,19 +263,19 @@ static reg_val common_regs[] = {
263 263
264static char *mode_option; 264static char *mode_option;
265static char *monitor_layout; 265static char *monitor_layout;
266static int noaccel = 0; 266static bool noaccel = 0;
267static int default_dynclk = -2; 267static int default_dynclk = -2;
268static int nomodeset = 0; 268static bool nomodeset = 0;
269static int ignore_edid = 0; 269static bool ignore_edid = 0;
270static int mirror = 0; 270static bool mirror = 0;
271static int panel_yres = 0; 271static int panel_yres = 0;
272static int force_dfp = 0; 272static bool force_dfp = 0;
273static int force_measure_pll = 0; 273static bool force_measure_pll = 0;
274#ifdef CONFIG_MTRR 274#ifdef CONFIG_MTRR
275static int nomtrr = 0; 275static bool nomtrr = 0;
276#endif 276#endif
277static int force_sleep; 277static bool force_sleep;
278static int ignore_devlist; 278static bool ignore_devlist;
279#ifdef CONFIG_PMAC_BACKLIGHT 279#ifdef CONFIG_PMAC_BACKLIGHT
280static int backlight = 1; 280static int backlight = 1;
281#else 281#else