From: Marek Belisko Date: Thu, 12 Jul 2012 21:00:16 +0000 (+0200) Subject: ASoC: dapm: Fix compilation warning X-Git-Tag: v3.6-rc1~117^2~4^2~5 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=98b3cf1290d2d6fbc926dc410d3713c8244e7604;p=linux.git 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 Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 4ba47aab9801..f7a13f720529 100644 --- a/sound/soc/soc-dapm.c +++ b/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);