mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] iio: chemical: SENSEAIR_SUNRISE_CO2 depends on I2C
@ 2021-10-02 23:28 Randy Dunlap
  2021-10-03 15:37 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2021-10-02 23:28 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Jacopo Mondi, Jonathan Cameron, linux-iio

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: c3253a3fdc77 ("iio: chemical: Add Senseair Sunrise 006-0-007 drive")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jacopo Mondi <jacopo@jmondi.org>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: linux-iio@vger.kernel.org
---
 drivers/iio/chemical/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20211001.orig/drivers/iio/chemical/Kconfig
+++ linux-next-20211001/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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-03 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-02 23:28 [PATCH -next] iio: chemical: SENSEAIR_SUNRISE_CO2 depends on I2C Randy Dunlap
2021-10-03 15:37 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®