linux-stable/drivers/video/fbdev/aty
Arnd Bergmann fa43bc2a5a atyfb: hide unused variable
The vdisplay variable is now only accessed inside of an #ifdef, producing
a harmless warning:

drivers/video/fbdev/aty/atyfb_base.c: In function 'aty_var_to_crtc':
drivers/video/fbdev/aty/atyfb_base.c:805:19: error: unused variable 'vdisplay' [-Werror=unused-variable]

This moves the declaration into the ifdef as well.

Fixes: dd7d958ae9 ("video: fbdev: aty: remove useless variable assignments in aty_var_to_crtc()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: "Gustavo A. R. Silva" <garsilva@embeddedor.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
2017-07-12 18:28:10 +02:00
..
ati_ids.h
aty128fb.c video: fbdev: constify fb_fix_screeninfo and fb_var_screeninfo structures 2016-09-27 11:16:35 +03:00
atyfb.h drivers/video/fbdev/atyfb: Use arch_phys_wc_add() and ioremap_wc() 2015-07-21 10:47:05 +02:00
atyfb_base.c atyfb: hide unused variable 2017-07-12 18:28:10 +02:00
mach64_accel.c
mach64_ct.c
mach64_cursor.c
mach64_gx.c
Makefile
radeon_accel.c
radeon_backlight.c backlight: Remove trivial get_brightness implementations 2014-06-23 13:24:22 +01:00
radeon_base.c drivers/video: Convert remaining uses of pr_warning to pr_warn 2017-03-21 16:13:10 +01:00
radeon_i2c.c
radeon_monitor.c scripts/spelling.txt: add "applys" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
radeon_pm.c fbdev: radeon: replace PPC_OF with PPC 2015-03-17 20:04:31 +11:00
radeonfb.h radeonfb: Deinline large functions 2015-10-08 12:24:12 +03:00