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 <esteban.valverde.vega@intel.com>
This commit is contained in:
Esteban Valverde 2022-05-03 22:59:40 +01:00 committed by Anas Nashif
commit b9313cab1b

View file

@ -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.