mirror of https://github.com/torvalds/linux.git
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:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| ati_ids.h | ||
| aty128fb.c | ||
| atyfb.h | ||
| atyfb_base.c | ||
| mach64_accel.c | ||
| mach64_ct.c | ||
| mach64_cursor.c | ||
| mach64_gx.c | ||
| radeon_accel.c | ||
| radeon_backlight.c | ||
| radeon_base.c | ||
| radeon_i2c.c | ||
| radeon_monitor.c | ||
| radeon_pm.c | ||
| radeonfb.h | ||