net: axienet: Mark eth_irq as optional
authorAndre Przywara <andre.przywara@arm.com>
Tue, 24 Mar 2020 13:23:41 +0000 (13:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2020 23:33:04 +0000 (16:33 -0700)
commitd6349e3e14c7f7b7e5cfec09a873af8c192f1271
treeb16e90ae12e58607d7bba828044f7192eff3b0b8
parent71791dc8bdea55eeb2a0caefe98a0b7450c6e0af
net: axienet: Mark eth_irq as optional

According to the DT binding, the Ethernet core interrupt is optional.

Use platform_get_irq_optional() to avoid the error message when the
IRQ is not specified.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c