* [PATCH] iio: add Kconfig selects needed for triggered buffer compiles
@ 2016-07-19 0:56 Alison Schofield
2016-07-24 13:38 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Alison Schofield @ 2016-07-19 0:56 UTC (permalink / raw)
To: jic23
Cc: tiberiu.a.breana, leonard.crestez, mranostay, knaack.h, lars,
pmeerw, linux-iio, linux-kernel
Select IIO_BUFFER and IIO_TRIGGERED_BUFFER to compile.
Remove IIO_TRIGGER if present since IIO_BUFFER selects it.
Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Cc: Daniel Baluta <daniel.baluta@gmail.com>
---
drivers/iio/accel/Kconfig | 5 ++++-
drivers/iio/humidity/Kconfig | 2 ++
drivers/iio/light/Kconfig | 2 ++
drivers/iio/temperature/Kconfig | 2 ++
4 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
index 89d7820..78f148e 100644
--- a/drivers/iio/accel/Kconfig
+++ b/drivers/iio/accel/Kconfig
@@ -20,6 +20,8 @@ config BMA180
config BMA220
tristate "Bosch BMA220 3-Axis Accelerometer Driver"
depends on SPI
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Say yes here to add support for the Bosch BMA220 triaxial
acceleration sensor.
@@ -234,7 +236,8 @@ config STK8312
config STK8BA50
tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
depends on I2C
- depends on IIO_TRIGGER
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Say yes here to get support for the Sensortek STK8BA50 3-axis
accelerometer.
diff --git a/drivers/iio/humidity/Kconfig b/drivers/iio/humidity/Kconfig
index 738a86d..d041243 100644
--- a/drivers/iio/humidity/Kconfig
+++ b/drivers/iio/humidity/Kconfig
@@ -6,6 +6,8 @@ menu "Humidity sensors"
config AM2315
tristate "Aosong AM2315 relative humidity and temperature sensor"
depends on I2C
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
If you say yes here you get support for the Aosong AM2315
relative humidity and ambient temperature sensor.
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index 2821747..73c0140 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -238,6 +238,8 @@ config MAX44000
tristate "MAX44000 Ambient and Infrared Proximity Sensor"
depends on I2C
select REGMAP_I2C
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Say Y here if you want to build support for Maxim Integrated's
MAX44000 ambient and infrared proximity sensor device.
diff --git a/drivers/iio/temperature/Kconfig b/drivers/iio/temperature/Kconfig
index 1d3da05..5ea77a7 100644
--- a/drivers/iio/temperature/Kconfig
+++ b/drivers/iio/temperature/Kconfig
@@ -6,6 +6,8 @@ menu "Temperature sensors"
config MAXIM_THERMOCOUPLE
tristate "Maxim thermocouple sensors"
depends on SPI
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
If you say yes here you get support for the Maxim series of
thermocouple sensors connected via SPI.
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] iio: add Kconfig selects needed for triggered buffer compiles
2016-07-19 0:56 [PATCH] iio: add Kconfig selects needed for triggered buffer compiles Alison Schofield
@ 2016-07-24 13:38 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2016-07-24 13:38 UTC (permalink / raw)
To: Alison Schofield
Cc: tiberiu.a.breana, leonard.crestez, mranostay, knaack.h, lars,
pmeerw, linux-iio, linux-kernel
On 19/07/16 01:56, Alison Schofield wrote:
> Select IIO_BUFFER and IIO_TRIGGERED_BUFFER to compile.
> Remove IIO_TRIGGER if present since IIO_BUFFER selects it.
>
> Signed-off-by: Alison Schofield <amsfield22@gmail.com>
> Cc: Daniel Baluta <daniel.baluta@gmail.com>
I'm somewhat confused as to why I've not be getting lots
of autobuilder fails from these having been missing.
Ah well, luck (or bad luck) I guess. Applied to the
fixes-togreg-post-rc1 branch of iio.git.
Thanks,
Jonathan
> ---
> drivers/iio/accel/Kconfig | 5 ++++-
> drivers/iio/humidity/Kconfig | 2 ++
> drivers/iio/light/Kconfig | 2 ++
> drivers/iio/temperature/Kconfig | 2 ++
> 4 files changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
> index 89d7820..78f148e 100644
> --- a/drivers/iio/accel/Kconfig
> +++ b/drivers/iio/accel/Kconfig
> @@ -20,6 +20,8 @@ config BMA180
> config BMA220
> tristate "Bosch BMA220 3-Axis Accelerometer Driver"
> depends on SPI
> + select IIO_BUFFER
> + select IIO_TRIGGERED_BUFFER
> help
> Say yes here to add support for the Bosch BMA220 triaxial
> acceleration sensor.
> @@ -234,7 +236,8 @@ config STK8312
> config STK8BA50
> tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
> depends on I2C
> - depends on IIO_TRIGGER
> + select IIO_BUFFER
> + select IIO_TRIGGERED_BUFFER
> help
> Say yes here to get support for the Sensortek STK8BA50 3-axis
> accelerometer.
> diff --git a/drivers/iio/humidity/Kconfig b/drivers/iio/humidity/Kconfig
> index 738a86d..d041243 100644
> --- a/drivers/iio/humidity/Kconfig
> +++ b/drivers/iio/humidity/Kconfig
> @@ -6,6 +6,8 @@ menu "Humidity sensors"
> config AM2315
> tristate "Aosong AM2315 relative humidity and temperature sensor"
> depends on I2C
> + select IIO_BUFFER
> + select IIO_TRIGGERED_BUFFER
> help
> If you say yes here you get support for the Aosong AM2315
> relative humidity and ambient temperature sensor.
> diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
> index 2821747..73c0140 100644
> --- a/drivers/iio/light/Kconfig
> +++ b/drivers/iio/light/Kconfig
> @@ -238,6 +238,8 @@ config MAX44000
> tristate "MAX44000 Ambient and Infrared Proximity Sensor"
> depends on I2C
> select REGMAP_I2C
> + select IIO_BUFFER
> + select IIO_TRIGGERED_BUFFER
> help
> Say Y here if you want to build support for Maxim Integrated's
> MAX44000 ambient and infrared proximity sensor device.
> diff --git a/drivers/iio/temperature/Kconfig b/drivers/iio/temperature/Kconfig
> index 1d3da05..5ea77a7 100644
> --- a/drivers/iio/temperature/Kconfig
> +++ b/drivers/iio/temperature/Kconfig
> @@ -6,6 +6,8 @@ menu "Temperature sensors"
> config MAXIM_THERMOCOUPLE
> tristate "Maxim thermocouple sensors"
> depends on SPI
> + select IIO_BUFFER
> + select IIO_TRIGGERED_BUFFER
> help
> If you say yes here you get support for the Maxim series of
> thermocouple sensors connected via SPI.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-24 13:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-19 0:56 [PATCH] iio: add Kconfig selects needed for triggered buffer compiles Alison Schofield
2016-07-24 13:38 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).