diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2015-10-22 15:56:40 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-26 11:08:00 +0900 |
commit | 739146b6144a6541cf94a668d6e7227b7882af30 (patch) | |
tree | 097137ad3876cb09b41dffc69f318c722d234cdf /sound/soc/fsl/fsl_sai.c | |
parent | ce247b45a3289f88008c13ca26ccde0db5fea690 (diff) | |
download | talos-op-linux-739146b6144a6541cf94a668d6e7227b7882af30.tar.gz talos-op-linux-739146b6144a6541cf94a668d6e7227b7882af30.zip |
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_sai.c')
-rw-r--r-- | sound/soc/fsl/fsl_sai.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index 38505f32ebe6..a4435f5e3be9 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c @@ -806,7 +806,7 @@ static const struct of_device_id fsl_sai_ids[] = { }; MODULE_DEVICE_TABLE(of, fsl_sai_ids); -#if CONFIG_PM_SLEEP +#ifdef CONFIG_PM_SLEEP static int fsl_sai_suspend(struct device *dev) { struct fsl_sai *sai = dev_get_drvdata(dev); |