realtek: Backport Realtek Otto WDT driver
[openwrt/staging/nbd.git] / target / linux / realtek / patches-5.10 / 307-wdt-update-dependency-for-realtek-otto-wdt.patch
1 Index: linux-5.10.76/drivers/watchdog/Kconfig
2 ===================================================================
3 --- linux-5.10.76.orig/drivers/watchdog/Kconfig
4 +++ linux-5.10.76/drivers/watchdog/Kconfig
5 @@ -997,10 +997,10 @@ config RTD119X_WATCHDOG
6
7 config REALTEK_OTTO_WDT
8 tristate "Realtek Otto MIPS watchdog support"
9 - depends on MACH_REALTEK_RTL || COMPILE_TEST
10 + depends on RTL838X
11 depends on COMMON_CLK
12 select WATCHDOG_CORE
13 - default MACH_REALTEK_RTL
14 + default RTL838X
15 help
16 Say Y here to include support for the watchdog timer on Realtek
17 RTL838x, RTL839x, RTL930x SoCs. This watchdog has pretimeout