Skip to content

Commit dc3c836

Browse files
elkabloarndb
authored andcommitted
platform: cznic: turris-omnia-mcu: Depend on WATCHDOG
Add depend on WATCHDOG, otherwise modpost fails with ERROR: modpost: "watchdog_init_timeout" [drivers/platform/cznic/turris-omnia-mcu.ko] undefined! ERROR: modpost: "devm_watchdog_register_device" [drivers/platform/cznic/turris-omnia-mcu.ko] undefined! Fixes: ab89fb5 ("platform: cznic: turris-omnia-mcu: Add support for MCU watchdog") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Marek Behún <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 5423a01 commit dc3c836

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/platform/cznic/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ config TURRIS_OMNIA_MCU
1717
depends on MACH_ARMADA_38X || COMPILE_TEST
1818
depends on I2C
1919
depends on OF
20+
depends on WATCHDOG
2021
select GPIOLIB
2122
select GPIOLIB_IRQCHIP
2223
select HW_RANDOM

0 commit comments

Comments
 (0)