diff options
author | Simon Trimmer <simont@opensource.cirrus.com> | 2021-09-30 17:21:16 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-01 21:34:58 +0300 |
commit | 0a43c152ed0666dc837009bae031b898ced95e5b (patch) | |
tree | 5d632dd84e401da1cc7a4853a952a0dbdbb1cb58 /include/sound/soc-component.h | |
parent | 57589f82762e40bdaa975d840fa2bc5157b5be95 (diff) | |
download | linux-0a43c152ed0666dc837009bae031b898ced95e5b.tar.xz |
ASoC: soc-component: Remove conditional definition of debugfs data members
This simplification allows the use of the standard kernel pattern of
static inline dummy functions for debugfs code. Most systems will only
have a small number of snd_soc_components so the memory impact is
minimal.
Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Suggested-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210930142116.528878-1-simont@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc-component.h')
-rw-r--r-- | include/sound/soc-component.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/soc-component.h b/include/sound/soc-component.h index e09a2d108e8c..3a35d149e92f 100644 --- a/include/sound/soc-component.h +++ b/include/sound/soc-component.h @@ -227,10 +227,8 @@ struct snd_soc_component { struct snd_compr_stream *mark_compr_open; void *mark_pm; -#ifdef CONFIG_DEBUG_FS struct dentry *debugfs_root; const char *debugfs_prefix; -#endif }; #define for_each_component_dais(component, dai)\ |