]> xenbits.xensource.com Git - arm/linux.git/commit
watchdog: orion: fix platform_get_irq() complaints
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 29 Nov 2019 14:51:35 +0000 (14:51 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Feb 2020 09:34:43 +0000 (09:34 +0000)
commit3ecda03a5c13086b0dd1d0cf0c5fe58d9c2afce9
treee7803175f6c9e6cc3bc7799ae3db6bafd988e704
parentb39f38f0ebed1d1da859aff71dd483383922ca8a
watchdog: orion: fix platform_get_irq() complaints

[ Upstream commit dcbce5fbcc69bf2553f650004aad44bf390eca73 ]

Fix:

orion_wdt f1020300.watchdog: IRQ index 1 not found

which is caused by platform_get_irq() now complaining when optional
IRQs are not found.  Neither interrupt for orion is required, so
make them both optional.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/E1iahcN-0000AT-Co@rmk-PC.armlinux.org.uk
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/watchdog/orion_wdt.c