summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorSebastien Guiriec <s-guiriec@ti.com>2012-02-15 19:25:31 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-15 20:05:18 +0400
commit731f1ab290ca1e59430ab222290d379222eb38a5 (patch)
treeaacd52320691daeb0e41e12336b35a8257931462 /include/sound
parent48a8c3943d1010c81d8144cc773f81c30bf59246 (diff)
downloadlinux-731f1ab290ca1e59430ab222290d379222eb38a5.tar.xz
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 4f67e01f0e2c..8fa4dcaa096b 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 {