OpenCloudOS-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 Radeonfb Xpress 200M RC410 support 2007-10-16 09:43:19 -07:00
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: fix alignment for block writes 2009-06-30 18:56:01 -07:00
atyfb_base.c video: aty: Remove redundant break 2013-09-26 11:50:08 +03:00
mach64_accel.c Fix colors for Mach64 2010-06-02 14:41:12 -07:00
mach64_ct.c Drivers: video: remove __dev* attributes. 2013-01-03 15:57:01 -08:00
mach64_cursor.c Drivers: video: remove __dev* attributes. 2013-01-03 15:57:01 -08:00
mach64_gx.c
radeon_accel.c Revert "radeonfb: accelerate imageblit and other improvements" 2008-12-10 16:53:32 -08:00
radeon_backlight.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
radeon_base.c video: aty: Remove incorrect checks 2013-09-26 11:52:31 +03:00
radeon_i2c.c radeonfb: Let hwmon driver probe the "monid" I2C bus 2011-03-22 16:17:48 +09:00
radeon_monitor.c Drivers: video: remove __dev* attributes. 2013-01-03 15:57:01 -08:00
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