diff options
author | Stefan Wahren <wahrenst@gmx.net> | 2019-11-11 20:49:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-12 20:07:59 -0800 |
commit | 5b1f0e62941b8b307c589c586928a28718e934ef (patch) | |
tree | 7f0bb96badae47f11f939f745cae02cb5a81d2dd /Documentation/devicetree/bindings/net | |
parent | net: dsa: sja1105: Print the reset reason (diff) | |
download | linux-dev-5b1f0e62941b8b307c589c586928a28718e934ef.tar.xz linux-dev-5b1f0e62941b8b307c589c586928a28718e934ef.zip |
net: bcmgenet: Avoid touching non-existent interrupt
As platform_get_irq() now prints an error when the interrupt does not
exist, we are getting a confusing error message in case the optional
WOL IRQ is not defined:
bcmgenet fd58000.ethernet: IRQ index 2 not found
Fix this by using the platform_get_irq_optional().
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
0 files changed, 0 insertions, 0 deletions