diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index 79de6a23047b9f1923c245b3dc756834e310eb7d..e093f2fcee7a08e18af7a0a36246127eefbb5c92 100644 --- a/arch/arm/common/edma.c +++ b/arch/arm/common/edma.c @@ -1801,6 +1801,7 @@ static int edma_probe(struct platform_device *pdev) return 0; } +#ifdef CONFIG_PM_SLEEP static int edma_pm_resume(struct device *dev) { int i, j; @@ -1840,6 +1841,7 @@ static int edma_pm_resume(struct device *dev) return 0; } +#endif static const struct dev_pm_ops edma_pm_ops = { SET_LATE_SYSTEM_SLEEP_PM_OPS(NULL, edma_pm_resume)