diff --git a/drivers/gpu/drm/v3d/v3d_drv.c b/drivers/gpu/drm/v3d/v3d_drv.c index a463f8c0ad4c1c405629fcca26cdf914b7322c6f..5f581fe8c918074ebf03ac8c5d9b5d81379856a8 100644 --- a/drivers/gpu/drm/v3d/v3d_drv.c +++ b/drivers/gpu/drm/v3d/v3d_drv.c @@ -70,7 +70,7 @@ static int v3d_runtime_resume(struct device *dev) } #endif -static const struct dev_pm_ops v3d_v3d_pm_ops = { +static const struct dev_pm_ops v3d_pm_ops = { SET_RUNTIME_PM_OPS(v3d_runtime_suspend, v3d_runtime_resume, NULL) }; @@ -356,6 +356,7 @@ static struct platform_driver v3d_platform_driver = { .driver = { .name = "v3d", .of_match_table = v3d_of_match, + .pm = &v3d_pm_ops, }, };