Skip to content

Commit 9e69846

Browse files
claudiubezneaWim Van Sebroeck
authored andcommitted
watchdog: rzg2l_wdt: Make the driver depend on PM
The rzg2l_wdt watchdog driver cannot work w/o CONFIG_PM=y (e.g. the clocks are enabled though pm_runtime_* specific APIs). To avoid building a driver that doesn't work make explicit the dependency on CONFIG_PM. Suggested-by: Guenter Roeck <[email protected]> Signed-off-by: Claudiu Beznea <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 5e7069f commit 9e69846

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/watchdog/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -934,6 +934,7 @@ config RENESAS_RZN1WDT
934934
config RENESAS_RZG2LWDT
935935
tristate "Renesas RZ/G2L WDT Watchdog"
936936
depends on ARCH_RZG2L || ARCH_R9A09G011 || COMPILE_TEST
937+
depends on PM || COMPILE_TEST
937938
select WATCHDOG_CORE
938939
help
939940
This driver adds watchdog support for the integrated watchdogs in the

0 commit comments

Comments
 (0)