commit | 5b1f0e62941b8b307c589c586928a28718e934ef | [log] [tgz] |
---|---|---|
author | Stefan Wahren <wahrenst@gmx.net> | Mon Nov 11 20:49:20 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 12 20:07:59 2019 -0800 |
tree | 7f0bb96badae47f11f939f745cae02cb5a81d2dd | |
parent | 2eea1fa82f681b484acb8e5a0d213b64a5c5574c [diff] |
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>