[PATCH] drm/v3d: Set pm_ops
From: YueHaibing
Date: Mon Apr 20 2020 - 22:43:41 EST
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@xxxxxxxxxx>
---
drivers/gpu/drm/v3d/v3d_drv.c | 1 +
1 file changed, 1 insertion(+)
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,
},
};
--
2.17.1