diff options
author | Stephen Warren <swarren@nvidia.com> | 2011-01-08 08:36:11 +0300 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-11 01:20:04 +0300 |
commit | faff4bb067d15a3bc0dde8c50cbc1a7075e314de (patch) | |
tree | ef00b333c8c66dd6d23bfa43917cadb4f7f15263 /include/sound/soc.h | |
parent | 2aa86323d815bab62a7e1d3ef8ed6c81a6dfeffa (diff) | |
download | linux-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/sound/soc.h')
-rw-r--r-- | include/sound/soc.h | 4 |
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) #include <sound/soc-dai.h> +#ifdef CONFIG_DEBUG_FS +extern struct dentry *asoc_debugfs_root; +#endif + #endif |