Skip to content

Commit

Permalink
drm: fix crtc no modes printf + typo
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Airlie committed Jan 13, 2010
1 parent f22d6dd commit 70a94d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/drm_crtc_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 70a94d6

Please sign in to comment.