diff options
author | Dave Airlie | 2010-01-13 16:15:11 +1000 |
---|---|---|
committer | Dave Airlie | 2010-01-13 16:15:11 +1000 |
commit | 70a94d6a35072b62f808155f117f00485a395f03 (patch) | |
tree | a425defdab10f053ee863f43b0aad016fbd0c945 /drivers/gpu | |
parent | f22d6ddaeb8126623d62c828a4d4a96dfc4cbc5c (diff) |
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 <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/drm_crtc_helper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index 077313f0d47f..1c47ea25337c 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); |