From: Stephen Warren <swarren@nvidia.com>
Date: Fri, 6 Apr 2012 05:11:16 +0000 (-0600)
Subject: ASoC: tegra: fix i2s compilation when !CONFIG_DEBUG_FS
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8abe05c6eb358967f16bce8a02c88d57c82cfbd6;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

ASoC: tegra: fix i2s compilation when !CONFIG_DEBUG_FS

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>
Cc: <stable@vger.kernel.org> # 3.3
---

diff --git a/sound/soc/tegra/tegra_i2s.c b/sound/soc/tegra/tegra_i2s.c
index 2d98c925c0aa..e53349912b2e 100644
--- a/sound/soc/tegra/tegra_i2s.c
+++ b/sound/soc/tegra/tegra_i2s.c
@@ -116,7 +116,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)
 {
 }