summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/gpu/drm/bochs/bochs_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/gpu/drm/bochs/bochs_drv.c')
-rw-r--r--kernel/drivers/gpu/drm/bochs/bochs_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/gpu/drm/bochs/bochs_drv.c b/kernel/drivers/gpu/drm/bochs/bochs_drv.c
index 98837bde2..7f1a3604b 100644
--- a/kernel/drivers/gpu/drm/bochs/bochs_drv.c
+++ b/kernel/drivers/gpu/drm/bochs/bochs_drv.c
@@ -109,7 +109,7 @@ static int bochs_pm_suspend(struct device *dev)
if (bochs->fb.initialized) {
console_lock();
- fb_set_suspend(bochs->fb.helper.fbdev, 1);
+ drm_fb_helper_set_suspend(&bochs->fb.helper, 1);
console_unlock();
}
@@ -126,7 +126,7 @@ static int bochs_pm_resume(struct device *dev)
if (bochs->fb.initialized) {
console_lock();
- fb_set_suspend(bochs->fb.helper.fbdev, 0);
+ drm_fb_helper_set_suspend(&bochs->fb.helper, 0);
console_unlock();
}