diff options
author | Sebastien Guiriec <s-guiriec@ti.com> | 2012-02-15 10:25:31 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-15 11:05:18 -0500 |
commit | 731f1ab290ca1e59430ab222290d379222eb38a5 (patch) | |
tree | aacd52320691daeb0e41e12336b35a8257931462 /include/sound | |
parent | 48a8c3943d1010c81d8144cc773f81c30bf59246 (diff) |
ASoC: core: add platform DAPM debugfs support
Allow platform widgets to be visible in debugfs like codec widgets.
Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 4f67e01f0e2c..8fa4dcaa096b 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -706,6 +706,11 @@ struct snd_soc_platform { | |||
706 | struct list_head card_list; | 706 | struct list_head card_list; |
707 | 707 | ||
708 | struct snd_soc_dapm_context dapm; | 708 | struct snd_soc_dapm_context dapm; |
709 | |||
710 | #ifdef CONFIG_DEBUG_FS | ||
711 | struct dentry *debugfs_platform_root; | ||
712 | struct dentry *debugfs_dapm; | ||
713 | #endif | ||
709 | }; | 714 | }; |
710 | 715 | ||
711 | struct snd_soc_dai_link { | 716 | struct snd_soc_dai_link { |