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)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 30 Dec 2019 14:58:29 +0000 (15:58 +0100)
commitdcbce5fbcc69bf2553f650004aad44bf390eca73
tree590cbc7e226f9803108e36b2b5bb9f177db4f141
parenta76dfb859cd42df6e3d1910659128ffcd2fb6ba2
watchdog: orion: fix platform_get_irq() complaints

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>
drivers/watchdog/orion_wdt.c