diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2014-01-09 05:16:11 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-09 08:54:59 -0500 |
commit | d7fa71042304fbc43cfc81d199b922759c67e013 (patch) | |
tree | 9cd663bd1bed21a39e2c53b3e2526589b2714ec9 /sound/soc/fsl/fsl_ssi.c | |
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/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) | |||
391 | * Display the statistics for the current SSI device. To avoid confusion, | 391 | * Display the statistics for the current SSI device. To avoid confusion, |
392 | * we only show those counts that are enabled. | 392 | * we only show those counts that are enabled. |
393 | */ | 393 | */ |
394 | static ssize_t fsl_ssi_stats_show(struct seq_file *s, void *unused) | 394 | static int fsl_ssi_stats_show(struct seq_file *s, void *unused) |
395 | { | 395 | { |
396 | struct fsl_ssi_private *ssi_private = s->private; | 396 | struct fsl_ssi_private *ssi_private = s->private; |
397 | 397 | ||