aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ast
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/ast')
-rw-r--r--drivers/gpu/drm/ast/ast_fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ast/ast_fb.c b/drivers/gpu/drm/ast/ast_fb.c
index d9ec77959dff..3e6584b940dc 100644
--- a/drivers/gpu/drm/ast/ast_fb.c
+++ b/drivers/gpu/drm/ast/ast_fb.c
@@ -290,6 +290,7 @@ static void ast_fbdev_destroy(struct drm_device *dev,
290 drm_fb_helper_fini(&afbdev->helper); 290 drm_fb_helper_fini(&afbdev->helper);
291 291
292 vfree(afbdev->sysram); 292 vfree(afbdev->sysram);
293 drm_framebuffer_unregister_private(&afb->base);
293 drm_framebuffer_cleanup(&afb->base); 294 drm_framebuffer_cleanup(&afb->base);
294} 295}
295 296