aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_fb_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/drm_fb_helper.c')
-rw-r--r--drivers/gpu/drm/drm_fb_helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 50549703584f..99487237111d 100644
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/drivers/gpu/drm/drm_fb_helper.c
@@ -283,6 +283,8 @@ static struct sysrq_key_op sysrq_drm_fb_helper_restore_op = {
283 .help_msg = "force-fb(V)", 283 .help_msg = "force-fb(V)",
284 .action_msg = "Restore framebuffer console", 284 .action_msg = "Restore framebuffer console",
285}; 285};
286#else
287static struct sysrq_key_op sysrq_drm_fb_helper_restore_op = { };
286#endif 288#endif
287 289
288static void drm_fb_helper_on(struct fb_info *info) 290static void drm_fb_helper_on(struct fb_info *info)