From b9313cab1b9b96a327555b523773bdf549906755 Mon Sep 17 00:00:00 2001 From: Esteban Valverde Date: Tue, 3 May 2022 22:59:40 +0100 Subject: [PATCH] drivers: counter: Setting I2C as depends in DS3231 config file When using DS3231 counter, its enablement should depend on I2C Signed-off-by: Esteban Valverde --- drivers/counter/Kconfig.maxim_ds3231 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/counter/Kconfig.maxim_ds3231 b/drivers/counter/Kconfig.maxim_ds3231 index d58d8be9bb5..26b49df4bb9 100644 --- a/drivers/counter/Kconfig.maxim_ds3231 +++ b/drivers/counter/Kconfig.maxim_ds3231 @@ -5,7 +5,7 @@ config COUNTER_MAXIM_DS3231 bool "Maxim DS3231 RTC/TCXO" - select I2C + depends on I2C select POLL help Enable counter driver based on Maxim DS3231 I2C device.