diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2014-01-09 11:16:11 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-09 14:54:59 +0100 |
commit | d7fa71042304fbc43cfc81d199b922759c67e013 (patch) | |
tree | 9cd663bd1bed21a39e2c53b3e2526589b2714ec9 /sound/soc/fsl/fsl_ssi.c | |
parent | ASoC: fsl-ssi doc: Add list of supported compatibles (diff) | |
download | linux-d7fa71042304fbc43cfc81d199b922759c67e013.tar.xz 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.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 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; |