diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2015-10-23 01:56:40 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-26 05:08:00 +0300 |
commit | 739146b6144a6541cf94a668d6e7227b7882af30 (patch) | |
tree | 097137ad3876cb09b41dffc69f318c722d234cdf /sound/soc/fsl/fsl_esai.c | |
parent | ce247b45a3289f88008c13ca26ccde0db5fea690 (diff) | |
download | linux-739146b6144a6541cf94a668d6e7227b7882af30.tar.xz |
ASoC: fsl: Use #ifdef instead of #if for CONFIG_PM_SLEEP
Change them to #ifdef as CONFIG_PM_SLEEP might not be defined at all.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/fsl_esai.c')
-rw-r--r-- | sound/soc/fsl/fsl_esai.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_esai.c b/sound/soc/fsl/fsl_esai.c index aab675a9d3f1..59f234e51971 100644 --- a/sound/soc/fsl/fsl_esai.c +++ b/sound/soc/fsl/fsl_esai.c @@ -900,7 +900,7 @@ static const struct of_device_id fsl_esai_dt_ids[] = { }; MODULE_DEVICE_TABLE(of, fsl_esai_dt_ids); -#if CONFIG_PM_SLEEP +#ifdef CONFIG_PM_SLEEP static int fsl_esai_suspend(struct device *dev) { struct fsl_esai *esai = dev_get_drvdata(dev); |