diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-05-29 10:04:08 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-29 16:55:31 +0100 |
commit | af89e7dac521f5e087b6b2706bb0623107f74c83 (patch) | |
tree | 10de6bfebbb0d2387ab6810a01ebd7958ad36eec /lib/strnlen_user.c | |
parent | 68f8043ed13e636c6f04ac1c0831e17681d392ab (diff) | |
download | linux-af89e7dac521f5e087b6b2706bb0623107f74c83.tar.bz2 |
ASoC: SOF: Intel: Baytrail: fix 'defined but not used' warnings
With the allmodconfig option, CONFIG_SND_SOC_SOF_BAYTRAIL is disabled
due to mutual exclusion with the legacy driver. This generates
'defined by not used' warnings.
suspend/resume/remove are only supported for Baytrail for now, so move
the code under the CONFIG_SND_SOC_SOF_BAYTRAIL checks.
Fixes: ddcccd543f5d ("ASoC: SOF: Intel: byt: Add PM callbacks")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200529150408.17236-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/strnlen_user.c')
0 files changed, 0 insertions, 0 deletions