aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-04-05 23:11:16 -0600
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-06 12:28:49 +0100
commit8abe05c6eb358967f16bce8a02c88d57c82cfbd6 (patch)
tree91f1d32af7e522cf24856b5d5640c0d7c7559b47 /sound
parentASoC: set idle_bias_off=1 for all platform DAPM contexts (diff)
downloadlinux-dev-8abe05c6eb358967f16bce8a02c88d57c82cfbd6.tar.xz
linux-dev-8abe05c6eb358967f16bce8a02c88d57c82cfbd6.zip
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
Diffstat (limited to 'sound')
-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 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)
{
}