diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-10 17:25:21 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-10 17:25:21 -0500 |
commit | 8a9dab1a555e3f2088c68cae792dfd7e854e65e4 (patch) | |
tree | fe7bb59e0f3b3dc1d35a1e5044b10a3e9d395d86 /sound/soc/tegra | |
parent | 8b75d714a6ae6445841006ae2074dae095608c36 (diff) |
ASoC: Update name of debugfs root symbol to snd_soc_
Everything else is using snd_soc_ so we should use it here too.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/tegra')
-rw-r--r-- | sound/soc/tegra/tegra_das.c | 5 | ||||
-rw-r--r-- | sound/soc/tegra/tegra_i2s.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sound/soc/tegra/tegra_das.c b/sound/soc/tegra/tegra_das.c index 796d36d5188a..01eb9c9301de 100644 --- a/sound/soc/tegra/tegra_das.c +++ b/sound/soc/tegra/tegra_das.c | |||
@@ -144,8 +144,9 @@ static const struct file_operations tegra_das_debug_fops = { | |||
144 | 144 | ||
145 | static void tegra_das_debug_add(struct tegra_das *das) | 145 | static void tegra_das_debug_add(struct tegra_das *das) |
146 | { | 146 | { |
147 | das->debug = debugfs_create_file(DRV_NAME, S_IRUGO, asoc_debugfs_root, | 147 | das->debug = debugfs_create_file(DRV_NAME, S_IRUGO, |
148 | das, &tegra_das_debug_fops); | 148 | snd_soc_debugfs_root, das, |
149 | &tegra_das_debug_fops); | ||
149 | } | 150 | } |
150 | 151 | ||
151 | static void tegra_das_debug_remove(struct tegra_das *das) | 152 | static void tegra_das_debug_remove(struct tegra_das *das) |
diff --git a/sound/soc/tegra/tegra_i2s.c b/sound/soc/tegra/tegra_i2s.c index 9b7a22af52a6..1730509c8ac2 100644 --- a/sound/soc/tegra/tegra_i2s.c +++ b/sound/soc/tegra/tegra_i2s.c | |||
@@ -104,7 +104,7 @@ static void tegra_i2s_debug_add(struct tegra_i2s *i2s, int id) | |||
104 | char name[] = DRV_NAME ".0"; | 104 | char name[] = DRV_NAME ".0"; |
105 | 105 | ||
106 | snprintf(name, sizeof(name), DRV_NAME".%1d", id); | 106 | snprintf(name, sizeof(name), DRV_NAME".%1d", id); |
107 | i2s->debug = debugfs_create_file(name, S_IRUGO, asoc_debugfs_root, | 107 | i2s->debug = debugfs_create_file(name, S_IRUGO, snd_soc_debugfs_root, |
108 | i2s, &tegra_i2s_debug_fops); | 108 | i2s, &tegra_i2s_debug_fops); |
109 | } | 109 | } |
110 | 110 | ||