aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-12-03 12:34:03 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-12-03 13:27:04 -0500
commit384c89e2e4cb5879b86a38414d1b3bb2b23ec8ee (patch)
treee48d9a5fabe9399e26b42c66b5ace098c53a967f /include/sound
parent6f2a974bfc8d3be7a30674c71e2fef003b39a8d2 (diff)
ASoC: Push debugfs files out of the snd_soc_device structure
This is in preparation for the removal of struct snd_soc_device. The pop time configuration should really be a property of the card not the codec but since DAPM currently uses the codec rather than the card using the codec is fine for now. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index ad8141acd6b0..3ee608dce2f8 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -279,6 +279,11 @@ struct snd_soc_codec {
279 /* codec DAI's */ 279 /* codec DAI's */
280 struct snd_soc_dai *dai; 280 struct snd_soc_dai *dai;
281 unsigned int num_dai; 281 unsigned int num_dai;
282
283#ifdef CONFIG_DEBUG_FS
284 struct dentry *debugfs_reg;
285 struct dentry *debugfs_pop_time;
286#endif
282}; 287};
283 288
284/* codec device */ 289/* codec device */
@@ -364,9 +369,6 @@ struct snd_soc_device {
364 struct snd_soc_codec *codec; 369 struct snd_soc_codec *codec;
365 struct snd_soc_codec_device *codec_dev; 370 struct snd_soc_codec_device *codec_dev;
366 void *codec_data; 371 void *codec_data;
367#ifdef CONFIG_DEBUG_FS
368 struct dentry *debugfs_root;
369#endif
370}; 372};
371 373
372/* runtime channel data */ 374/* runtime channel data */