diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-05-10 09:33:02 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-17 12:15:23 +0200 |
commit | fcf92202e7bc2e8513ae045e3ec61e79c1c9e690 (patch) | |
tree | d518feb028130214aafc406c47b93f8791a85f0b /drivers/mfd/wm831x-spi.c | |
parent | drm/radeon: check kmalloc() for failures (diff) | |
download | linux-fcf92202e7bc2e8513ae045e3ec61e79c1c9e690.tar.xz linux-fcf92202e7bc2e8513ae045e3ec61e79c1c9e690.zip |
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>
Diffstat (limited to 'drivers/mfd/wm831x-spi.c')
0 files changed, 0 insertions, 0 deletions