diff mbox

[1/3,-next] drm: fix build error when SYSRQ is disabled

Message ID 4BABAB71.3010402@oracle.com (mailing list archive)
State New, archived
Headers show

Commit Message

Randy Dunlap March 25, 2010, 6:29 p.m. UTC
None
diff mbox

Patch

--- linux-next-20100325.orig/drivers/gpu/drm/drm_fb_helper.c
+++ linux-next-20100325/drivers/gpu/drm/drm_fb_helper.c
@@ -283,6 +283,8 @@  static struct sysrq_key_op sysrq_drm_fb_
 	.help_msg = "force-fb(V)",
 	.action_msg = "Restore framebuffer console",
 };
+#else
+static struct sysrq_key_op sysrq_drm_fb_helper_restore_op = { };
 #endif
 
 static void drm_fb_helper_on(struct fb_info *info)