|
@@ -1932,8 +1932,7 @@ static int hdmi_remove(struct platform_device *pdev)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-#ifdef CONFIG_PM
|
|
|
-static int exynos_hdmi_suspend(struct device *dev)
|
|
|
+static int __maybe_unused exynos_hdmi_suspend(struct device *dev)
|
|
|
{
|
|
|
struct hdmi_context *hdata = dev_get_drvdata(dev);
|
|
|
|
|
@@ -1942,7 +1941,7 @@ static int exynos_hdmi_suspend(struct device *dev)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static int exynos_hdmi_resume(struct device *dev)
|
|
|
+static int __maybe_unused exynos_hdmi_resume(struct device *dev)
|
|
|
{
|
|
|
struct hdmi_context *hdata = dev_get_drvdata(dev);
|
|
|
int ret;
|
|
@@ -1953,7 +1952,6 @@ static int exynos_hdmi_resume(struct device *dev)
|
|
|
|
|
|
return 0;
|
|
|
}
|
|
|
-#endif
|
|
|
|
|
|
static const struct dev_pm_ops exynos_hdmi_pm_ops = {
|
|
|
SET_RUNTIME_PM_OPS(exynos_hdmi_suspend, exynos_hdmi_resume, NULL)
|