Skip to contentSkip to conversation

iio:ti_am335x_adc ensure that IIO_KFIFO_BUF is not selected witout IIO_BUFFER

PATCH Applied Jonathan Cameron 2 participants 3 messages Sep 25, 2013 – Sep 28, 2013 IIO

lore
Share & tools
lore

Jonathan Cameron

author maintainer
#0 lore raw

PATCH 1/1 iio:ti_am335x_adc ensure that IIO_KFIFO_BUF is not selected witout IIO_BUFFER

This avoids build problems such iio_push_to_buffers* not being defined.

---
 drivers/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/adc/Kconfig +1 -0
index 8b88518..2209f28 100644
@@ -177,6 +177,7 @@ config TI_ADC081C
 config TI_AM335X_ADC
 	tristate "TI's AM335X ADC driver"
 	depends on MFD_TI_AM335X_TSCADC
+	select IIO_BUFFER
 	select IIO_KFIFO_BUF
 	help
 	  Say yes here to build support for Texas Instruments ADC
Signature · 1 line
1.8.4
#1 lore raw
Quoted 1 line · Jonathan Cameron

This avoids build problems such iio_push_to_buffers* not being defined.

Apologies for the tiny blooper causing such a fuss. Zubair

Quoted 22 lines
---
 drivers/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/adc/Kconfig +1 -0
index 8b88518..2209f28 100644
@@ -177,6 +177,7 @@ config TI_ADC081C
 config TI_AM335X_ADC
 	tristate "TI's AM335X ADC driver"
 	depends on MFD_TI_AM335X_TSCADC
+	select IIO_BUFFER
 	select IIO_KFIFO_BUF
 	help
 	  Say yes here to build support for Texas Instruments ADC
Signature · 1 line
1.8.4
author maintainer Applied
#2 lore raw
In reply to Jonathan Cameron
Quoted 4 lines · Jonathan Cameron

This avoids build problems such iio_push_to_buffers* not being defined.

Applied to the togreg branch of iio.git.

Quoted 17 lines
---
 drivers/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/adc/Kconfig +1 -0
index 8b88518..2209f28 100644
@@ -177,6 +177,7 @@ config TI_ADC081C
 config TI_AM335X_ADC
 	tristate "TI's AM335X ADC driver"
 	depends on MFD_TI_AM335X_TSCADC
+	select IIO_BUFFER
 	select IIO_KFIFO_BUF
 	help
 	  Say yes here to build support for Texas Instruments ADC