ASoC: Tegra: Fix compile when debugfs not enabled
Subsystems (3)
PATCH 1/1 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 < [email protected]>
Signed-off-by Stephen Warren <[email protected]>
--- sound/soc/tegra/tegra_i2s.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/tegra/tegra_i2s.c +1 -1
@@ -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) { }
Signature · 1 line
1.7.0.4
Mark Brown
AppliedQuoted 5 lines · Stephen Warren
The prototype of the inline dummy version of
tegra_i2s_debug_addwas not consistent with the real version.Reported-by Rhyland-Klein < [email protected]>Signed-off-by Stephen Warren <[email protected]>
Applied, thanks.