Browse Source

drivers: sensor: maxim,ds3231: fix config dependency

Make the config which is specific for DS3231 depend on
the driver for it being enabled.

Signed-off-by: David Schneider <schneidav81@gmail.com>
pull/89593/head
David Schneider 2 months ago committed by Benjamin Cabé
parent
commit
9455b412d2
  1. 4
      drivers/sensor/maxim/ds3231/Kconfig

4
drivers/sensor/maxim/ds3231/Kconfig

@ -14,9 +14,13 @@ config SENSOR_DS3231 @@ -14,9 +14,13 @@ config SENSOR_DS3231
help
Enable driver for DS3231 I2C-based temperature sensor.
if SENSOR_DS3231
config SENSOR_DS3231_INIT_PRIORITY
int "DS3231 sensor driver init priority"
default 86
help
Init priority for the DS3231 sensor driver. It must be
greater than MFD_INIT_PRIORITY.
endif # SENSOR_DS3231

Loading…
Cancel
Save