ASoC: fsl_ssi: Change irq type to 'int'

Since commit 2ffa531078 ("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 <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Fabio Estevam 2015-01-14 10:48:59 -02:00 committed by Mark Brown
parent 97bf6af1f9
commit 9e446ad500

View File

@ -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;