|
@@ -1801,6 +1801,7 @@ static int edma_probe(struct platform_device *pdev)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#ifdef CONFIG_PM_SLEEP
|
|
static int edma_pm_resume(struct device *dev)
|
|
static int edma_pm_resume(struct device *dev)
|
|
{
|
|
{
|
|
int i, j;
|
|
int i, j;
|
|
@@ -1840,6 +1841,7 @@ static int edma_pm_resume(struct device *dev)
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
|
|
|
|
static const struct dev_pm_ops edma_pm_ops = {
|
|
static const struct dev_pm_ops edma_pm_ops = {
|
|
SET_LATE_SYSTEM_SLEEP_PM_OPS(NULL, edma_pm_resume)
|
|
SET_LATE_SYSTEM_SLEEP_PM_OPS(NULL, edma_pm_resume)
|