commit | bea1d35b8e1533ac493305b3efe04a4b7def8a7f | [log] [tgz] |
---|---|---|
author | Mikael Pettersson <mikpe@it.uu.se> | Mon Sep 28 18:26:25 2009 +0200 |
committer | Dave Airlie <airlied@linux.ie> | Tue Sep 29 11:15:37 2009 +1000 |
tree | 3d0dc5219d36e1520fdef25cec670f2513274911 | |
parent | 4c57edba4588ddba40017fbde3cd356e600bdf80 [diff] |
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 <mikpe@it.uu.se> Signed-off-by: Dave Airlie <airlied@linux.ie>