summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2011-01-08 05:36:11 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-10 22:20:04 (GMT)
commitfaff4bb067d15a3bc0dde8c50cbc1a7075e314de (patch)
treeef00b333c8c66dd6d23bfa43917cadb4f7f15263 /include
parent2aa86323d815bab62a7e1d3ef8ed6c81a6dfeffa (diff)
downloadlinux-faff4bb067d15a3bc0dde8c50cbc1a7075e314de.tar.xz
ASoC: Export debugfs root dentry
A couple Tegra ASoC drivers will create debugfs entries. Mark requested these by under debugfs/asoc/ not just debugfs/. To enable this, export the dentry representing debugfs/asoc/. Also, rename debugfs_root -> asoc_debugfs_root now it's exported to prevent potential symbol name clashes. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 74921f2..96aadbb 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -756,4 +756,8 @@ static inline void *snd_soc_pcm_get_drvdata(struct snd_soc_pcm_runtime *rtd)
#include <sound/soc-dai.h>
+#ifdef CONFIG_DEBUG_FS
+extern struct dentry *asoc_debugfs_root;
+#endif
+
#endif