diff mbox series

drm/v3d: Set pm_ops

Message ID 20200421024221.20204-1-yuehaibing@huawei.com (mailing list archive)
State New, archived
Headers show
Series drm/v3d: Set pm_ops | expand

Commit Message

Yue Haibing April 21, 2020, 2:42 a.m. UTC
v3d_v3d_pm_ops is defined but forgot to set in v3d_platform_driver.

Fixes: 57692c94dcbe ("drm/v3d: Introduce a new DRM driver for Broadcom V3D V3.x+")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/gpu/drm/v3d/v3d_drv.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/v3d/v3d_drv.c b/drivers/gpu/drm/v3d/v3d_drv.c
index 8d0c0daaac81..e799a41248c9 100644
--- a/drivers/gpu/drm/v3d/v3d_drv.c
+++ b/drivers/gpu/drm/v3d/v3d_drv.c
@@ -368,6 +368,7 @@  static struct platform_driver v3d_platform_driver = {
 	.driver		= {
 		.name	= "v3d",
 		.of_match_table = v3d_of_match,
+		.pm = &v3d_v3d_pm_ops,
 	},
 };