[PATCH 1/2] sound:soc:soc-dmap: Fix compilation warning.

From: Marek Belisko
Date: Thu Jul 12 2012 - 17:05:53 EST


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@xxxxxxxxxxxxxxx>
---
sound/soc/soc-dapm.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index f829d6f..eded657 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -1018,6 +1018,7 @@ int dapm_clock_event(struct snd_soc_dapm_widget *w,
return 0;
}
#endif
+ return 0;
}
EXPORT_SYMBOL_GPL(dapm_clock_event);

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/