summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorJarkko Nikula <jhnikula@gmail.com>2010-11-05 20:35:19 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-06 11:28:35 -0400
commita6052154944c822993d04ca8f8d8926e8b73b749 (patch)
treeb39ca2870b3865f87a6d29fa7349c9fc288f06f3 /include/sound
parentce6120cca2589ede530200c7cfe11ac9f144333c (diff)
downloadlinux-a6052154944c822993d04ca8f8d8926e8b73b749.tar.gz
linux-a6052154944c822993d04ca8f8d8926e8b73b749.tar.bz2
linux-a6052154944c822993d04ca8f8d8926e8b73b749.zip
ASoC: Add sound card directory under debugfs/asoc/
There will be need to have sound card specific debugfs entries. This patch introduces a new debugfs/asoc/{card->name}/ directory but does not add yet any entries there. Signed-off-by: Jarkko Nikula <jhnikula@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-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 b048e08e2cc7..95ce0ddd36d4 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -589,6 +589,10 @@ struct snd_soc_card {
struct list_head codec_dev_list;
struct list_head platform_dev_list;
struct list_head dai_dev_list;
+
+#ifdef CONFIG_DEBUG_FS
+ struct dentry *debugfs_card_root;
+#endif
};
/* SoC machine DAI configuration, glues a codec and cpu DAI together */