Browse Source

ASoC: dapm: Fix compilation warning

Fix following:
sound/soc/soc-dapm.c: In function ‘dapm_clock_event’:
sound/soc/soc-dapm.c:1021:1: warning: control reaches end of non-void function [-Wreturn-type]

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Marek Belisko 13 years ago
parent
commit
98b3cf1290
1 changed files with 1 additions and 0 deletions
  1. 1 0
      sound/soc/soc-dapm.c

+ 1 - 0
sound/soc/soc-dapm.c

@@ -1019,6 +1019,7 @@ int dapm_clock_event(struct snd_soc_dapm_widget *w,
 		return 0;
 	}
 #endif
+	return 0;
 }
 EXPORT_SYMBOL_GPL(dapm_clock_event);