summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/soc/fsl/fsl_sai_ac97.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_sai_ac97.c b/sound/soc/fsl/fsl_sai_ac97.c
index f487527b4f6c..5053c4fc135c 100644
--- a/sound/soc/fsl/fsl_sai_ac97.c
+++ b/sound/soc/fsl/fsl_sai_ac97.c
@@ -1294,6 +1294,9 @@ static int fsl_sai_ac97_resume(struct device *dev)
return 0;
}
+#else
+#define fsl_sai_ac97_suspend NULL
+#define fsl_sai_ac97_resume NULL
#endif /* CONFIG_PM_SLEEP */
static const struct dev_pm_ops fsl_sai_ac97_pm = {