summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-tb10x.c
diff options
context:
space:
mode:
authorStefan Wahren <wahrenst@gmx.net>2019-11-11 20:49:20 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-12 20:07:59 -0800
commit5b1f0e62941b8b307c589c586928a28718e934ef (patch)
tree7f0bb96badae47f11f939f745cae02cb5a81d2dd /drivers/irqchip/irq-tb10x.c
parent2eea1fa82f681b484acb8e5a0d213b64a5c5574c (diff)
downloadlinux-5b1f0e62941b8b307c589c586928a28718e934ef.tar.bz2
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 'drivers/irqchip/irq-tb10x.c')
0 files changed, 0 insertions, 0 deletions