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)
commitdb33f00d15a63d269e283bad3f6f61eb00d2bc9d
tree667bb5604b34143317fb7ccf60fa857e281ab03b
parent810f3b860850148788fc1ed8a6f5f807199fed65
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