]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dapm: Expose snd_soc_dapm_new_control_unlocked properly
authorAmadeusz Sławiński <amadeuszx.slawinski@intel.com>
Tue, 27 Aug 2019 14:17:09 +0000 (16:17 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 27 Aug 2019 18:24:02 +0000 (19:24 +0100)
commit8392bcfaae1b1aeb891be2c69eca2d256d65252c
tree667bb5604b34143317fb7ccf60fa857e281ab03b
parentd6ff9b3689b4fc63a6d8c53f6865ad7e72f3d494
ASoC: dapm: Expose snd_soc_dapm_new_control_unlocked properly

We use snd_soc_dapm_new_control_unlocked for topology and have local
declaration, instead declare it properly in header like already declared
snd_soc_dapm_new_control.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@intel.com>
Link: https://lore.kernel.org/r/20190827141712.21015-4-amadeuszx.slawinski@linux.intel.com
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dapm.h
sound/soc/soc-topology.c