ASoC: Tegra: Fix compile when debugfs not enabled
authorStephen Warren <swarren@nvidia.com>
Mon, 16 May 2011 20:19:27 +0000 (14:19 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 20 May 2011 10:20:13 +0000 (11:20 +0100)
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>
sound/soc/tegra/tegra_i2s.c

index 4f5e2c90b0207ce0be0b39bf90a946d27b8ece2a..6b817e20548ca07fa94938caf8202bc37b9b0386 100644 (file)
@@ -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)
 {
 }