From: Dan Carpenter Date: Thu, 10 May 2012 07:33:02 +0000 (+0300) Subject: gma500: silence an unused variable warning X-Git-Tag: v3.5-rc1~100^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcf92202e7bc2e8513ae045e3ec61e79c1c9e690;p=pandora-kernel.git gma500: silence an unused variable warning If CONFIG_BACKLIGHT_CLASS_DEVICE is disabled then GCC warns that: drivers/gpu/drm/gma500/opregion.c:154:6: warning: unused variable ‘max’ [-Wunused-variable] Which give me a chance to use the new config_enabled() macro. :) Signed-off-by: Dan Carpenter Acked-by: Paul Menzel Acked-by: Alan Cox Signed-off-by: Dave Airlie --- Reading git-diff-tree failed