diff options
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r-- | include/sound/soc.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index be6ecae247b0..0ab8b1e4a5d2 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -728,9 +728,24 @@ struct snd_soc_component { | |||
728 | 728 | ||
729 | struct mutex io_mutex; | 729 | struct mutex io_mutex; |
730 | 730 | ||
731 | #ifdef CONFIG_DEBUG_FS | ||
732 | struct dentry *debugfs_root; | ||
733 | #endif | ||
734 | |||
735 | /* | ||
736 | * DO NOT use any of the fields below in drivers, they are temporary and | ||
737 | * are going to be removed again soon. If you use them in driver code the | ||
738 | * driver will be marked as BROKEN when these fields are removed. | ||
739 | */ | ||
740 | |||
731 | /* Don't use these, use snd_soc_component_get_dapm() */ | 741 | /* Don't use these, use snd_soc_component_get_dapm() */ |
732 | struct snd_soc_dapm_context dapm; | 742 | struct snd_soc_dapm_context dapm; |
733 | struct snd_soc_dapm_context *dapm_ptr; | 743 | struct snd_soc_dapm_context *dapm_ptr; |
744 | |||
745 | #ifdef CONFIG_DEBUG_FS | ||
746 | void (*init_debugfs)(struct snd_soc_component *component); | ||
747 | const char *debugfs_prefix; | ||
748 | #endif | ||
734 | }; | 749 | }; |
735 | 750 | ||
736 | /* SoC Audio Codec device */ | 751 | /* SoC Audio Codec device */ |
@@ -766,7 +781,6 @@ struct snd_soc_codec { | |||
766 | struct snd_soc_dapm_context dapm; | 781 | struct snd_soc_dapm_context dapm; |
767 | 782 | ||
768 | #ifdef CONFIG_DEBUG_FS | 783 | #ifdef CONFIG_DEBUG_FS |
769 | struct dentry *debugfs_codec_root; | ||
770 | struct dentry *debugfs_reg; | 784 | struct dentry *debugfs_reg; |
771 | #endif | 785 | #endif |
772 | }; | 786 | }; |
@@ -879,10 +893,6 @@ struct snd_soc_platform { | |||
879 | struct list_head list; | 893 | struct list_head list; |
880 | 894 | ||
881 | struct snd_soc_component component; | 895 | struct snd_soc_component component; |
882 | |||
883 | #ifdef CONFIG_DEBUG_FS | ||
884 | struct dentry *debugfs_platform_root; | ||
885 | #endif | ||
886 | }; | 896 | }; |
887 | 897 | ||
888 | struct snd_soc_dai_link { | 898 | struct snd_soc_dai_link { |