diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2014-01-09 11:16:11 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-09 13:54:59 +0000 |
commit | d7fa71042304fbc43cfc81d199b922759c67e013 (patch) | |
tree | 9cd663bd1bed21a39e2c53b3e2526589b2714ec9 /sound/soc/fsl | |
parent | 10901e5382099a463c96f2949050283f81e365e9 (diff) |
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')
-rw-r--r-- | sound/soc/fsl/fsl_ssi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 94dedcb0868..f662dddf208 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; |