drm: fix build error when SYSRQ is disabled
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 25 Mar 2010 18:29:05 +0000 (18:29 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 31 Mar 2010 03:12:52 +0000 (13:12 +1000)
commitb8c40d6269d5e515341599b2e395f2dab4490d74
tree5ea48bdb863b36c410ffe2a459a7e18ac16f2d0f
parente1e8a5dd4faf356b5d31c620c5787eaa83ee831d
drm: fix build error when SYSRQ is disabled

Fix build error when CONFIG_MAGIC_SYSRQ is not enabled:

drivers/gpu/drm/drm_fb_helper.c:915: error: 'sysrq_drm_fb_helper_restore_op' undeclared (first use in this function)
drivers/gpu/drm/drm_fb_helper.c:929: error: 'sysrq_drm_fb_helper_restore_op' undeclared (first use in this function)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fb_helper.c