diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2020-06-04 17:06:32 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-15 18:21:20 +0100 |
commit | 536aba1dd4939bf647f5d182d4f101ae548e6505 (patch) | |
tree | 570135820c86c5956e369b5588aa68353421b56a /include | |
parent | c7d75b5938e38a48e5fdac44f88fc5882f1f7bed (diff) |
ASoC: soc-component: move snd_soc_component_initialize() to soc-component.c
snd_soc_component_xxx() should be implemented at soc-component.c
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/87r1uvw8zb.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/soc-component.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/soc-component.h b/include/sound/soc-component.h index 481132141dc2..cb0d34fa77c6 100644 --- a/include/sound/soc-component.h +++ b/include/sound/soc-component.h @@ -324,6 +324,10 @@ static inline int snd_soc_component_cache_sync( return regcache_sync(component->regmap); } +int snd_soc_component_initialize(struct snd_soc_component *component, + const struct snd_soc_component_driver *driver, + struct device *dev, const char *name); + /* component IO */ int snd_soc_component_read(struct snd_soc_component *component, unsigned int reg, unsigned int *val); |