]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
drm/kms: typo fix
authorJames Simmons <jsimmons@infradead.org>
Tue, 27 Oct 2009 21:09:24 +0000 (21:09 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 28 Oct 2009 05:26:56 +0000 (15:26 +1000)
I believe this is a typo.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fb_helper.c

index 9c924614c418c3a92aca03011c580bcea8390f3d..dc8e374a0b55e6852103cfdd56d0e84dcd0232d3 100644 (file)
@@ -707,7 +707,7 @@ int drm_fb_helper_set_par(struct fb_info *info)
 
                if (crtc->fb == fb_helper->crtc_info[i].mode_set.fb) {
                        mutex_lock(&dev->mode_config.mutex);
-                       ret = crtc->funcs->set_config(&fb_helper->crtc_info->mode_set);
+                       ret = crtc->funcs->set_config(&fb_helper->crtc_info[i].mode_set);
                        mutex_unlock(&dev->mode_config.mutex);
                        if (ret)
                                return ret;