net/at91_ether: use gpio_to_irq for phy IRQ line
authorNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 26 Apr 2012 00:30:43 +0000 (00:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Apr 2012 01:48:39 +0000 (21:48 -0400)
commit86cc070eb19640d42941d3074e42c761d4c1c59c
treef8cb002ccd8334b910d45c3189fa4c60ffaba487
parentc5f0f83c3be4c965c40c78d52000db30c0ceab5d
net/at91_ether: use gpio_to_irq for phy IRQ line

Use the gpio_to_irq() function to retrieve the phy IRQ line
from the GPIO pin specification.
This fix is needed now that we have moved to irqdomains on AT91.

Reported-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Andrew Victor <avictor.za@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/at91_ether.c