diff options
Diffstat (limited to 'drivers/gpu/drm/cirrus/cirrus_fbdev.c')
-rw-r--r-- | drivers/gpu/drm/cirrus/cirrus_fbdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/cirrus/cirrus_fbdev.c b/drivers/gpu/drm/cirrus/cirrus_fbdev.c index 6c6b4c87d309..3daea0f638c3 100644 --- a/drivers/gpu/drm/cirrus/cirrus_fbdev.c +++ b/drivers/gpu/drm/cirrus/cirrus_fbdev.c | |||
@@ -258,6 +258,7 @@ static int cirrus_fbdev_destroy(struct drm_device *dev, | |||
258 | 258 | ||
259 | vfree(gfbdev->sysram); | 259 | vfree(gfbdev->sysram); |
260 | drm_fb_helper_fini(&gfbdev->helper); | 260 | drm_fb_helper_fini(&gfbdev->helper); |
261 | drm_framebuffer_unregister_private(&gfb->base); | ||
261 | drm_framebuffer_cleanup(&gfb->base); | 262 | drm_framebuffer_cleanup(&gfb->base); |
262 | 263 | ||
263 | return 0; | 264 | return 0; |