summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorSebastien Guiriec <s-guiriec@ti.com>2012-02-15 16:25:31 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-15 17:05:18 +0100
commit731f1ab290ca1e59430ab222290d379222eb38a5 (patch)
treeaacd52320691daeb0e41e12336b35a8257931462 /include/sound/soc.h
parentASoC: dapm: Convert pin switches to use snd_soc_card (diff)
downloadlinux-731f1ab290ca1e59430ab222290d379222eb38a5.tar.xz
linux-731f1ab290ca1e59430ab222290d379222eb38a5.zip
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/soc.h')
-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 {