diff options
Diffstat (limited to 'drivers/gpu/drm/ast/ast_fb.c')
-rw-r--r-- | drivers/gpu/drm/ast/ast_fb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ast/ast_fb.c b/drivers/gpu/drm/ast/ast_fb.c index c2e41369adcf..2c9f8dd9733a 100644 --- a/drivers/gpu/drm/ast/ast_fb.c +++ b/drivers/gpu/drm/ast/ast_fb.c | |||
@@ -39,7 +39,9 @@ | |||
39 | #include <drm/drmP.h> | 39 | #include <drm/drmP.h> |
40 | #include <drm/drm_crtc.h> | 40 | #include <drm/drm_crtc.h> |
41 | #include <drm/drm_fb_helper.h> | 41 | #include <drm/drm_fb_helper.h> |
42 | #include <drm/drm_util.h> | ||
42 | #include <drm/drm_crtc_helper.h> | 43 | #include <drm/drm_crtc_helper.h> |
44 | |||
43 | #include "ast_drv.h" | 45 | #include "ast_drv.h" |
44 | 46 | ||
45 | static void ast_dirty_update(struct ast_fbdev *afbdev, | 47 | static void ast_dirty_update(struct ast_fbdev *afbdev, |
@@ -261,7 +263,7 @@ static void ast_fbdev_destroy(struct drm_device *dev, | |||
261 | { | 263 | { |
262 | struct ast_framebuffer *afb = &afbdev->afb; | 264 | struct ast_framebuffer *afb = &afbdev->afb; |
263 | 265 | ||
264 | drm_crtc_force_disable_all(dev); | 266 | drm_helper_force_disable_all(dev); |
265 | drm_fb_helper_unregister_fbi(&afbdev->helper); | 267 | drm_fb_helper_unregister_fbi(&afbdev->helper); |
266 | 268 | ||
267 | if (afb->obj) { | 269 | if (afb->obj) { |