summaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra/tegra_i2s.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2011-05-16 14:19:27 -0600
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-05-20 11:20:13 +0100
commit0dfe8da4921fdae6b9c77e320731e490d4b15a99 (patch)
treeafca6ade17d9ffbb2144a196ae8e499e0c2f2a83 /sound/soc/tegra/tegra_i2s.c
parent6ae759e889d9fd1733f4392f5083ac8c899253c5 (diff)
ASoC: Tegra: Fix compile when debugfs not enabled
The prototype of the inline dummy version of tegra_i2s_debug_add was not consistent with the real version. Reported-by: Rhyland-Klein <rklein@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/tegra/tegra_i2s.c')
-rw-r--r--sound/soc/tegra/tegra_i2s.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_i2s.c b/sound/soc/tegra/tegra_i2s.c
index 4f5e2c90b02..6b817e20548 100644
--- a/sound/soc/tegra/tegra_i2s.c
+++ b/sound/soc/tegra/tegra_i2s.c
@@ -114,7 +114,7 @@ static void tegra_i2s_debug_remove(struct tegra_i2s *i2s)
debugfs_remove(i2s->debug);
}
#else
-static inline void tegra_i2s_debug_add(struct tegra_i2s *i2s)
+static inline void tegra_i2s_debug_add(struct tegra_i2s *i2s, int id)
{
}