summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/gpu/drm/cirrus/cirrus_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/gpu/drm/cirrus/cirrus_drv.c')
-rw-r--r--kernel/drivers/gpu/drm/cirrus/cirrus_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/gpu/drm/cirrus/cirrus_drv.c b/kernel/drivers/gpu/drm/cirrus/cirrus_drv.c
index b91400329..b1619e29a 100644
--- a/kernel/drivers/gpu/drm/cirrus/cirrus_drv.c
+++ b/kernel/drivers/gpu/drm/cirrus/cirrus_drv.c
@@ -92,7 +92,7 @@ static int cirrus_pm_suspend(struct device *dev)
if (cdev->mode_info.gfbdev) {
console_lock();
- fb_set_suspend(cdev->mode_info.gfbdev->helper.fbdev, 1);
+ drm_fb_helper_set_suspend(&cdev->mode_info.gfbdev->helper, 1);
console_unlock();
}
@@ -109,7 +109,7 @@ static int cirrus_pm_resume(struct device *dev)
if (cdev->mode_info.gfbdev) {
console_lock();
- fb_set_suspend(cdev->mode_info.gfbdev->helper.fbdev, 0);
+ drm_fb_helper_set_suspend(&cdev->mode_info.gfbdev->helper, 0);
console_unlock();
}