summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorSebastien Guiriec <s-guiriec@ti.com>2012-02-15 15:25:31 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-15 08:05:18 -0800
commit731f1ab290ca1e59430ab222290d379222eb38a5 (patch)
treeaacd52320691daeb0e41e12336b35a8257931462 /include/sound
parent48a8c3943d1010c81d8144cc773f81c30bf59246 (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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 4f67e01f0e2..8fa4dcaa096 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -706,6 +706,11 @@ struct snd_soc_platform {
struct list_head card_list;
struct snd_soc_dapm_context dapm;
+
+#ifdef CONFIG_DEBUG_FS
+ struct dentry *debugfs_platform_root;
+ struct dentry *debugfs_dapm;
+#endif
};
struct snd_soc_dai_link {