]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
watchdog: rzg2l_wdt: Restrict the driver to ARCH_RZG2L and ARCH_R9A09G011
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Fri, 31 May 2024 06:57:15 +0000 (09:57 +0300)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Wed, 10 Jul 2024 18:01:31 +0000 (20:01 +0200)
The rzg2l_wdt driver is used only by ARCH_RZG2L and ARCH_R9A09G011
micro-architectures of Renesas. Thus, limit it's usage only to these.

Suggested-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20240531065723.1085423-2-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/Kconfig

index 2882944d23ccd5368c51fb0bf3680b70de45a304..4e785bc66989ea322e0a62fdcc517f670096de89 100644 (file)
@@ -933,7 +933,7 @@ config RENESAS_RZN1WDT
 
 config RENESAS_RZG2LWDT
        tristate "Renesas RZ/G2L WDT Watchdog"
-       depends on ARCH_RENESAS || COMPILE_TEST
+       depends on ARCH_RZG2L || ARCH_R9A09G011 || COMPILE_TEST
        select WATCHDOG_CORE
        help
          This driver adds watchdog support for the integrated watchdogs in the