From: Andrej Picej Date: Mon, 29 Nov 2021 13:49:38 +0000 (+0100) Subject: watchdog: da9063: Add hard dependency on I2C X-Git-Tag: v5.17-rc1~63^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7d608c33cb5843cc9a7f4d86d4cd6a8514cd04a7;p=thirdparty%2Fkernel%2Flinux.git watchdog: da9063: Add hard dependency on I2C Commit 5ea29919c294 ("watchdog: da9063: use atomic safe i2c transfer in reset handler") implements atomic save i2c transfer which uses i2c functions directly. Add I2C hard dependency which overrides COMPILE_TEST. Reported-by: kernel test robot Fixes: 968011a291f3 ("watchdog: da9063: use atomic safe i2c transfer in reset handler") Signed-off-by: Andrej Picej Reviewed-by: Guenter Roeck Link: https://lore.kernel.org/r/20211129134938.3273289-1-andrej.picej@norik.com Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index bac8901072e23..d103801e7cc07 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -207,6 +207,7 @@ config DA9055_WATCHDOG config DA9063_WATCHDOG tristate "Dialog DA9063 Watchdog" depends on MFD_DA9063 || COMPILE_TEST + depends on I2C select WATCHDOG_CORE help Support for the watchdog in the DA9063 PMIC.