Mark Brown 0f2c0d32e6 net: fsl: Fix error checking for platform_get_irq()
The gianfar driver has recently been enabled on arm64 but fails to build
since it check the return value of platform_get_irq() against NO_IRQ. Fix
this by instead checking for a negative error code.

Even on ARM where this code was previously being built this check was
incorrect since platform_get_irq() returns a negative error code which
may not be exactly the (unsigned int)(-1) that NO_IRQ is defined to be.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-30 15:19:44 -05:00
..
2015-09-29 21:11:12 -07:00
2015-09-29 21:11:13 -07:00
2015-11-20 10:58:31 -05:00
2015-09-29 13:49:53 -07:00
2015-09-08 22:44:42 -07:00
2015-11-18 14:58:03 -05:00
2015-11-05 13:15:12 -08:00
2015-11-10 15:39:03 -05:00
2015-11-18 22:03:53 -05:00
2015-11-06 14:22:15 -08:00
2015-06-29 12:52:06 -07:00
2015-07-08 16:04:06 -07:00