]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: tegra: fix i2s compilation when !CONFIG_DEBUG_FS
authorStephen Warren <swarren@nvidia.com>
Fri, 6 Apr 2012 05:11:16 +0000 (23:11 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2012 16:13:57 +0000 (09:13 -0700)
commit 8abe05c6eb358967f16bce8a02c88d57c82cfbd6 upstream.

Commit d4a2eca "ASoC: Tegra I2S: Remove dependency on pdev->id" changed
the prototype of tegra_i2s_debug_add, but didn't update the dummy inline
used when !CONFIG_DEBUG_FS. Fix that.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/tegra/tegra_i2s.c

index 33509de52540bd8c38aea1bbfb121fe20fe238d5..c7f34f9ef7c7b9984170df785318e613eb66606f 100644 (file)
@@ -112,7 +112,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, int id)
+static inline void tegra_i2s_debug_add(struct tegra_i2s *i2s)
 {
 }