summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drm_crtc.c')
-rw-r--r--linux-core/drm_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_crtc.c b/linux-core/drm_crtc.c
index 2bc1c4e3..c011db30 100644
--- a/linux-core/drm_crtc.c
+++ b/linux-core/drm_crtc.c
@@ -1095,7 +1095,7 @@ void drm_mode_config_cleanup(struct drm_device *dev)
if (fb->bo->type != drm_bo_type_kernel)
drm_framebuffer_destroy(fb);
else
- dev->driver->fb_remove(dev, drm_crtc_from_fb(dev, fb));
+ dev->driver->fb_remove(dev, fb);
}
list_for_each_entry_safe(crtc, ct, &dev->mode_config.crtc_list, head) {