diff options
author | David Howells <dhowells@redhat.com> | 2014-01-23 15:54:03 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 16:36:55 -0800 |
commit | e13e64ece037104f5b04d0e98929ad2149c5bb09 (patch) | |
tree | f453af7dd7ec8e1e6ee6d8693f0c1cdb6c149000 /drivers/regulator/max8649.c | |
parent | 00b2c76a6abbe082bb5afb89ee49ec325e9cd4d2 (diff) | |
download | linux-rt-e13e64ece037104f5b04d0e98929ad2149c5bb09.tar.gz |
drivers/gpu/drm/gma500/backlight.c: fix a defined-but-not-used warning for do_gma_backlight_set()
Fix the following warning:
drivers/gpu/drm/gma500/backlight.c:29:13: warning: 'do_gma_backlight_set' defined but not used [-Wunused-function]
by moving the entire function inside the conditional section currently
inside of it. All the places that call it are so conditionalised.
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/regulator/max8649.c')
0 files changed, 0 insertions, 0 deletions