|
@@ -504,8 +504,7 @@ void vsp1_device_put(struct vsp1_device *vsp1)
|
|
|
* Power Management
|
|
|
*/
|
|
|
|
|
|
-#ifdef CONFIG_PM_SLEEP
|
|
|
-static int vsp1_pm_suspend(struct device *dev)
|
|
|
+static int __maybe_unused vsp1_pm_suspend(struct device *dev)
|
|
|
{
|
|
|
struct vsp1_device *vsp1 = dev_get_drvdata(dev);
|
|
|
|
|
@@ -515,7 +514,7 @@ static int vsp1_pm_suspend(struct device *dev)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static int vsp1_pm_resume(struct device *dev)
|
|
|
+static int __maybe_unused vsp1_pm_resume(struct device *dev)
|
|
|
{
|
|
|
struct vsp1_device *vsp1 = dev_get_drvdata(dev);
|
|
|
|
|
@@ -524,9 +523,8 @@ static int vsp1_pm_resume(struct device *dev)
|
|
|
|
|
|
return 0;
|
|
|
}
|
|
|
-#endif
|
|
|
|
|
|
-static int vsp1_pm_runtime_suspend(struct device *dev)
|
|
|
+static int __maybe_unused vsp1_pm_runtime_suspend(struct device *dev)
|
|
|
{
|
|
|
struct vsp1_device *vsp1 = dev_get_drvdata(dev);
|
|
|
|
|
@@ -535,7 +533,7 @@ static int vsp1_pm_runtime_suspend(struct device *dev)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static int vsp1_pm_runtime_resume(struct device *dev)
|
|
|
+static int __maybe_unused vsp1_pm_runtime_resume(struct device *dev)
|
|
|
{
|
|
|
struct vsp1_device *vsp1 = dev_get_drvdata(dev);
|
|
|
int ret;
|