Prev: XFS xfs_trace.c: duplicated include
Next: [PATCH 3/3 -next] xen: fix build when SYSRQ is disabled
From: Randy Dunlap on 25 Mar 2010 14:40 From: Randy Dunlap <randy.dunlap(a)oracle.com> 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(a)oracle.com> Cc: David Airlie <airlied(a)linux.ie> --- drivers/gpu/drm/drm_fb_helper.c | 2 ++ 1 file changed, 2 insertions(+) --- 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) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: XFS xfs_trace.c: duplicated include Next: [PATCH 3/3 -next] xen: fix build when SYSRQ is disabled |