On Thu, 10 May 2012 10:33:02 +0300 Dan Carpenter <[email protected]> wrote:
> 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 <[email protected]> Acked-by: Alan Cox <[email protected]> _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
