]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pcf2127: watchdog: handle nowayout feature
authorBruno Thomsen <bruno.thomsen@gmail.com>
Thu, 4 Jun 2020 16:26:02 +0000 (18:26 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 5 Jun 2020 22:34:16 +0000 (00:34 +0200)
commit119e9ac164f1a8c52ea2f63fb562a4438f5d68f7
tree66c87699994129e556942a8a0f3a1a1ccccbd342
parent0b48f7982ec5437be8f4fb10138212b30ccae5a5
rtc: pcf2127: watchdog: handle nowayout feature

Driver does not use module parameter for nowayout, so it need to
statically initialize status variable of the watchdog_device based
on CONFIG_WATCHDOG_NOWAYOUT.

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20200604162602.76524-1-bruno.thomsen@gmail.com
drivers/rtc/rtc-pcf2127.c