From: Mikael Pettersson Date: Mon, 28 Sep 2009 16:26:25 +0000 (+0200) Subject: drm: fix drm_fb_helper warning when !CONFIG_MAGIC_SYSRQ X-Git-Tag: v2.6.32-rc3~64^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bea1d35b8e1533ac493305b3efe04a4b7def8a7f;p=pandora-kernel.git drm: fix drm_fb_helper warning when !CONFIG_MAGIC_SYSRQ Compiling DRM throws the following warning if MAGIC_SYSRQ is disabled: drivers/gpu/drm/drm_fb_helper.c:101: warning: 'sysrq_drm_fb_helper_restore_op' defined but not used Fix: place sysrq_drm_fb_helper_restore_op and associated definitions inside #ifdef CONFIG_MAGIC_SYSRQ. Signed-off-by: Mikael Pettersson Signed-off-by: Dave Airlie --- Reading git-diff-tree failed