aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandy Dunlap <[email protected]>2021-10-02 16:28:03 -0700
committerJonathan Cameron <[email protected]>2021-10-19 08:29:05 +0100
commitb18831cc99426a9f6f085a29a53a423aa9b7c62e (patch)
treed0222beb687ce864f7c13ddec28be9423a747b98
parent0fc3c82690fc727ea6c03d9abed7676fe20254a4 (diff)
iio: chemical: SENSEAIR_SUNRISE_CO2 depends on I2C
Fix kconfig symbol dependency warning: WARNING: unmet direct dependencies detected for REGMAP_I2C Depends on [n]: I2C [=n] Selected by [y]: - SENSEAIR_SUNRISE_CO2 [=y] && IIO [=y] Fixes: c397894e24f1 ("iio: chemical: Add Senseair Sunrise 006-0-007 drive") Signed-off-by: Randy Dunlap <[email protected]> Cc: Jacopo Mondi <[email protected]> Cc: Jonathan Cameron <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
-rw-r--r--drivers/iio/chemical/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/chemical/Kconfig b/drivers/iio/chemical/Kconfig
index dc169f9ad4e9..b3d6efe06809 100644
--- a/drivers/iio/chemical/Kconfig
+++ b/drivers/iio/chemical/Kconfig
@@ -172,6 +172,7 @@ config SPS30_SERIAL
config SENSEAIR_SUNRISE_CO2
tristate "Senseair Sunrise 006-0-0007 CO2 sensor"
+ depends on I2C
select REGMAP_I2C
help
Say yes here to build support for Senseair Sunrise 006-0-0007 CO2