aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Trimmer <[email protected]>2021-09-30 15:21:16 +0100
committerMark Brown <[email protected]>2021-10-01 19:34:58 +0100
commit0a43c152ed0666dc837009bae031b898ced95e5b (patch)
tree5d632dd84e401da1cc7a4853a952a0dbdbb1cb58
parent57589f82762e40bdaa975d840fa2bc5157b5be95 (diff)
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 <[email protected]> Suggested-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--include/sound/soc-component.h2
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)\