linux/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
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
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
radeonfb.h