[alsa-devel] [PATCH] ASoC: Tegra: Fix compile when debugfs not enabled
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 --- sound/soc/tegra/tegra_i2s.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/soc/tegra/tegra_i2s.c b/sound/soc/tegra/tegra_i2s.c index 4f5e2c9..6b817e2 100644 --- a/sound/soc/tegra/tegra_i2s.c +++ b/sound/soc/tegra/tegra_i2s.c @@ -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) { }
On Mon, May 16, 2011 at 02:19:27PM -0600, Stephen Warren wrote:
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
Applied, thanks.
participants (2)
-
Mark Brown
-
Stephen Warren