diff options
author | Liam Girdwood <liam.r.girdwood@linux.intel.com> | 2014-10-30 14:58:19 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-30 15:56:01 +0000 |
commit | 35e03a884c41b8fecf77e20de89759deb7c9078a (patch) | |
tree | 735055cd427f805b3d54f25f96f29e5c515fd1c2 /sound/soc/intel/sst-haswell-ipc.c | |
parent | b891f62fcd28a46ab0818cd9acbb5bbb20542ab6 (diff) | |
download | blackbird-op-linux-35e03a884c41b8fecf77e20de89759deb7c9078a.tar.gz blackbird-op-linux-35e03a884c41b8fecf77e20de89759deb7c9078a.zip |
ASoC: Intel: fix build with runtime PM disabled.
Fix the following errors:
All error/warnings:
>> sound/soc/intel/sst-haswell-pcm.c:1168:13: error: 'hsw_pcm_prepare' undeclared here (not in a function)
.prepare = hsw_pcm_prepare,
^
>> sound/soc/intel/sst-haswell-pcm.c:1169:14: error: 'hsw_pcm_complete' undeclared here (not in a function)
.complete = hsw_pcm_complete,
^
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/sst-haswell-ipc.c')
-rw-r--r-- | sound/soc/intel/sst-haswell-ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/sst-haswell-ipc.c b/sound/soc/intel/sst-haswell-ipc.c index 0ea7c3dcc071..ffd5728d55c3 100644 --- a/sound/soc/intel/sst-haswell-ipc.c +++ b/sound/soc/intel/sst-haswell-ipc.c @@ -1711,7 +1711,7 @@ void sst_hsw_runtime_module_free(struct sst_module_runtime *runtime) sst_module_runtime_free(runtime); } -#ifdef CONFIG_PM_RUNTIME +#ifdef CONFIG_PM static int sst_hsw_dx_state_dump(struct sst_hsw *hsw) { struct sst_dsp *sst = hsw->dsp; |