Prechádzať zdrojové kódy

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
Stephen Warren 13 rokov pred
rodič
commit
8abe05c6eb
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      sound/soc/tegra/tegra_i2s.c

+ 1 - 1
sound/soc/tegra/tegra_i2s.c

@@ -116,7 +116,7 @@ static void tegra_i2s_debug_remove(struct tegra_i2s *i2s)
 		debugfs_remove(i2s->debug);
 		debugfs_remove(i2s->debug);
 }
 }
 #else
 #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)
 {
 {
 }
 }