From 0023dbc37a48843f5d0189c530c8c8872a14bac3 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Tue, 9 Jun 2015 23:26:54 +0200 Subject: ASoC: fsl_sai_ac97: fix compilation without suspend/resume Provide suspend/resume defines to fix compilation without PM_SLEEP. --- sound/soc/fsl/fsl_sai_ac97.c | 3 +++ 1 file changed, 3 insertions(+) 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 = { -- cgit v1.2.3