commit | fcf92202e7bc2e8513ae045e3ec61e79c1c9e690 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu May 10 10:33:02 2012 +0300 |
committer | Dave Airlie <airlied@redhat.com> | Thu May 17 11:15:23 2012 +0100 |
tree | d518feb028130214aafc406c47b93f8791a85f0b | |
parent | ce0679136678a58cbeca40acd84b6a0462637454 [diff] |
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 <dan.carpenter@oracle.com> Acked-by: Paul Menzel <paulepanter@users.sourceforge.net> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>