summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/fsl_ssi.c
diff options
context:
space:
mode:
authorMarkus Pargmann2014-01-09 11:16:11 +0100
committerMark Brown2014-01-09 14:54:59 +0100
commitd7fa71042304fbc43cfc81d199b922759c67e013 (patch)
tree9cd663bd1bed21a39e2c53b3e2526589b2714ec9 /sound/soc/fsl/fsl_ssi.c
parentASoC: fsl-ssi doc: Add list of supported compatibles (diff)
downloadkernel-qcow2-linux-d7fa71042304fbc43cfc81d199b922759c67e013.tar.gz
kernel-qcow2-linux-d7fa71042304fbc43cfc81d199b922759c67e013.tar.xz
kernel-qcow2-linux-d7fa71042304fbc43cfc81d199b922759c67e013.zip
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 <mpa@pengutronix.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/fsl_ssi.c')
-rw-r--r--sound/soc/fsl/fsl_ssi.c2
1 files changed, 1 insertions, 1 deletions
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;