ASoC: Intel: Fix build with CONFIG_SLEEP enabled.
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Tue, 4 Nov 2014 13:27:45 +0000 (13:27 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 4 Nov 2014 15:13:36 +0000 (15:13 +0000)
commit7b8ef67a0b1edb37957a2aa71a5c0bbbcf2694e9
treef958fe95036993882d7e8de544a72c29a58b6599
parente648f6add20d1cfb5945e24b5bffe5843476645b
ASoC: Intel: Fix build with CONFIG_SLEEP enabled.

Fix the following build error when CONFIG_SLEEP is enabled and CONFIG_RUNTIME
is disabled. The BDW ADSP sleep PM functionality depends on the runtime pm
calls for context save/restore.

All error/warnings:

>> ERROR: "snd_soc_suspend" undefined!
>> ERROR: "snd_soc_resume" undefined!

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>
sound/soc/intel/sst-haswell-pcm.c