WSL2-Linux-Kernel/drivers/video/aty
David Howells a79530e4d8 drivers/video/aty/aty128fb.c: fix a warning pertaining to the aty128fb backlight variable
Fix the following warning in the aty128fb driver:

	drivers/video/aty/aty128fb.c:363:12: warning: 'backlight' defined but not used [-Wunused-variable]
	 static int backlight = 0;
		    ^

as the variable's value is only read if CONFIG_FB_ATY128_BACKLIGHT=y.  The
variable is also set if MODULE is unset[*].

[*] I wonder if the conditional wrapper around aty128fb_setup() should be
    using CONFIG_MODULE rather than MODULE.

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-01-23 16:36:55 -08:00
..
Makefile
ati_ids.h
aty128fb.c drivers/video/aty/aty128fb.c: fix a warning pertaining to the aty128fb backlight variable 2014-01-23 16:36:55 -08:00
atyfb.h
atyfb_base.c video: aty: Remove redundant break 2013-09-26 11:50:08 +03:00
mach64_accel.c
mach64_ct.c
mach64_cursor.c
mach64_gx.c
radeon_accel.c
radeon_backlight.c
radeon_base.c video: aty: Remove incorrect checks 2013-09-26 11:52:31 +03:00
radeon_i2c.c
radeon_monitor.c
radeon_pm.c radeon: Conditionally compile PM code 2013-09-20 12:14:26 +03:00
radeonfb.h radeonfb: Use pci_dev pm_cap 2013-09-19 13:30:06 +03:00