From: Dave Airlie Date: Wed, 13 Jan 2010 06:15:11 +0000 (+1000) Subject: drm: fix crtc no modes printf + typo X-Git-Tag: upstream/snapshot3+hdmi~15708^2~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70a94d6a35072b62f808155f117f00485a395f03;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git drm: fix crtc no modes printf + typo Toralf Förster pointed out the typo, the fact I forget the if statement is purely personal fail. Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index 077313f..1c47ea2 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++ b/drivers/gpu/drm/drm_crtc_helper.c @@ -1032,7 +1032,8 @@ bool drm_helper_initial_config(struct drm_device *dev) /* * we shouldn't end up with no modes here. */ - printk(KERN_INFO "No connectors reported conncted with modes\n"); + if (count == 0) + printk(KERN_INFO "No connectors reported connected with modes\n"); drm_setup_crtcs(dev);