watchdog: pc87413: Rewriting of pc87413_wdt driver to use watchdog subsystem
PATCH v2 1/1 watchdog: pc87413: Rewriting of pc87413_wdt driver to use watchdog subsystem
This patch rewrites the pc87413_wdt driver to use the watchdog subsystem. In doing so, it also addresses a potential race condition owing from the swc_base_addr variable being used before being set.
Signed-off-by Mark Balantzyan <[email protected]>
--- drivers/watchdog/Kconfig | 1 + drivers/watchdog/pc87413_wdt.c | 333 +++++---------------------------- 2 files changed, 47 insertions(+), 287 deletions(-)
drivers/watchdog/Kconfig +1 -0
@@ -1166,6 +1166,7 @@ config SCx200_WDT config PC87413_WDT tristate "NS PC87413 watchdog" + select WATCHDOG_CORE depends on X86 ---help--- This is the driver for the hardware watchdog on the PC87413 chipset
drivers/watchdog/pc87413_wdt.c +46 -287
433 lines not on this page · raw message
Signature · 1 line
2.17.1