aboutsummaryrefslogtreecommitdiff
path: root/drivers/vlynq
diff options
context:
space:
mode:
authorGravatar David Howells <dhowells@redhat.com> 2014-01-23 15:54:06 -0800
committerGravatar Linus Torvalds <torvalds@linux-foundation.org> 2014-01-23 16:36:55 -0800
commita79530e4d8c8ef2bece88f8dab680e541162f010 (patch)
tree9104aee3bcb9996ba671572709648c374030bf4b /drivers/vlynq
parentdrivers/mfd/tps65217.c: fix pointer-integer size mismatch warning in tps65217... (diff)
downloadlinux-a79530e4d8c8ef2bece88f8dab680e541162f010.tar.gz
linux-a79530e4d8c8ef2bece88f8dab680e541162f010.tar.bz2
linux-a79530e4d8c8ef2bece88f8dab680e541162f010.zip
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>
Diffstat (limited to 'drivers/vlynq')
0 files changed, 0 insertions, 0 deletions