Skip to content

Commit

Permalink
ASoC: tegra: fix i2s compilation when !CONFIG_DEBUG_FS
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Stephen Warren authored and Mark Brown committed Apr 6, 2012
1 parent 3fec6b6 commit 8abe05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/tegra/tegra_i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}

Expand Down

0 comments on commit 8abe05c

Please sign in to comment.