[lkml]   [2009]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] IIO: Add missing I2C dependencies for max1363 and tsl2561
Signed-off-by: Jonathan Cameron <>

I will roll these into the original patches at some point, but
for now they are here.

Thanks to David Brownell for spotting this.
drivers/iio/adc/Kconfig | 2 +-
drivers/iio/light/Kconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index cb773d2..ab2066c 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -6,7 +6,7 @@ comment "Analog to digital convertors"

config MAX1363
tristate "MAXIM max1363 ADC driver"
- depends on IIO
+ depends on IIO && I2C
Say yes here to build support for many MAXIM i2c analog to digital
convertors (ADC). (max1361, max1362, max1363, max1364, max1136,
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index 620e249..62d502c 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -6,7 +6,7 @@ comment "Light sensors"

config TSL2561
tristate "TAOS TSL2561 light-to-digital convertor"
- depends on IIO
+ depends on IIO && I2C
Say yes bere to build support for the TAOS light to digital
convertor. This chip has two light sensors. One is broadband

 \ /
  Last update: 2009-07-03 19:15    [W:0.077 / U:12.520 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site