Revert "drm/msm: mark PM functions as __maybe_unused"
This reverts commit 78918cd0eee346c43e2d9dc553fadfacad6cb488.
This reversion is happening as a result of disabling the
disp/dpu directory as it will not be used in 4.19 downstream
display driver and these changes are made in the common layer
which affects the downstream driver functionalities. Separate
patches are submitted to revert the upstream driver and
introduce the downstream version of display driver.
Change-Id: I14ac980cf68048111a7eebe49d124aa6a4dd0792
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
index 1c08388..8d4678d 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
@@ -1258,7 +1258,7 @@
return 0;
}
-static int __maybe_unused dpu_runtime_suspend(struct device *dev)
+static int dpu_runtime_suspend(struct device *dev)
{
int rc = -1;
struct platform_device *pdev = to_platform_device(dev);
@@ -1285,7 +1285,7 @@
return rc;
}
-static int __maybe_unused dpu_runtime_resume(struct device *dev)
+static int dpu_runtime_resume(struct device *dev)
{
int rc = -1;
struct platform_device *pdev = to_platform_device(dev);