From: Stephen Warren Date: Mon, 16 May 2011 20:19:27 +0000 (-0600) Subject: ASoC: Tegra: Fix compile when debugfs not enabled X-Git-Tag: android-x86-4.4-r1~2977^2~1113^2~12 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=0dfe8da4921fdae6b9c77e320731e490d4b15a99;p=android-x86%2Fkernel.git 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 Signed-off-by: Stephen Warren Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/tegra/tegra_i2s.c b/sound/soc/tegra/tegra_i2s.c index 4f5e2c90b020..6b817e20548c 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) { }