From: David Howells Date: Thu, 23 Jan 2014 23:54:03 +0000 (-0800) Subject: drivers/gpu/drm/gma500/backlight.c: fix a defined-but-not-used warning for do_gma_bac... X-Git-Tag: v3.14-rc1~108^2~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e13e64ece037104f5b04d0e98929ad2149c5bb09;p=pandora-kernel.git 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 Cc: Alan Cox Cc: Greg Kroah-Hartman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed