aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2011-01-08 00:36:11 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-10 17:20:04 -0500
commitfaff4bb067d15a3bc0dde8c50cbc1a7075e314de (patch)
treeef00b333c8c66dd6d23bfa43917cadb4f7f15263 /include/sound/soc.h
parent2aa86323d815bab62a7e1d3ef8ed6c81a6dfeffa (diff)
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/sound/soc.h')
-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 74921f20a1d8..96aadbba85b2 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)
756 756
757#include <sound/soc-dai.h> 757#include <sound/soc-dai.h>
758 758
759#ifdef CONFIG_DEBUG_FS
760extern struct dentry *asoc_debugfs_root;
761#endif
762
759#endif 763#endif