From: Markus Pargmann Date: Thu, 9 Jan 2014 10:16:11 +0000 (+0100) Subject: ASoC: fsl-ssi: Fix stats compile warning X-Git-Tag: next-20140116~57^2^19~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d7fa71042304fbc43cfc81d199b922759c67e013;p=karo-tx-linux.git ASoC: fsl-ssi: Fix stats compile warning single_open requires a function with signature 'int (*)(struct seq_file *, void *)'. This patch fixes the warning by fixing the wrong return type of fsl_ssi_stats_show. Signed-off-by: Markus Pargmann Signed-off-by: Mark Brown --- diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 94dedcb0868d..f662dddf2085 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -391,7 +391,7 @@ static irqreturn_t fsl_ssi_isr(int irq, void *dev_id) * Display the statistics for the current SSI device. To avoid confusion, * we only show those counts that are enabled. */ -static ssize_t fsl_ssi_stats_show(struct seq_file *s, void *unused) +static int fsl_ssi_stats_show(struct seq_file *s, void *unused) { struct fsl_ssi_private *ssi_private = s->private;