From: Fabio Estevam Date: Wed, 14 Jan 2015 12:48:59 +0000 (-0200) Subject: ASoC: fsl_ssi: Change irq type to 'int' X-Git-Tag: v4.0-rc1~129^2~13^2~6^3~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9e446ad500db0fd0823990409da17fde9e9cffdc;p=karo-tx-linux.git ASoC: fsl_ssi: Change irq type to 'int' Since commit 2ffa531078037a0 ("ASoC: fsl_ssi: Fix module unbound") the irq number is retrieved via platform_get_irq(), which may fail and return a negative number, so adapt its type to 'int'. Signed-off-by: Fabio Estevam Signed-off-by: Mark Brown --- diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index a65f17d57ffb..4a48da5673ce 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -160,7 +160,7 @@ struct fsl_ssi_soc_data { */ struct fsl_ssi_private { struct regmap *regs; - unsigned int irq; + int irq; struct snd_soc_dai_driver cpu_dai_drv; unsigned int dai_fmt;