retab intelfb code

main
Dave Airlie 2007-12-06 11:47:29 +10:00
parent 8020724615
commit 9814e87016
1 changed files with 3 additions and 3 deletions

View File

@ -321,9 +321,9 @@ static int intelfb_set_par(struct fb_info *info)
}
if (par->crtc->enabled) {
if (!drm_mode_equal(&par->crtc->mode, drm_mode))
if (!drm_crtc_set_mode(par->crtc, drm_mode, 0, 0))
return -EINVAL;
if (!drm_mode_equal(&par->crtc->mode, drm_mode))
if (!drm_crtc_set_mode(par->crtc, drm_mode, 0, 0))
return -EINVAL;
}
return 0;
}