summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2016-12-14 13:30:24 +0100
committerJonathan Cameron <jic23@kernel.org>2016-12-30 16:37:48 +0000
commitb1448ea9cd95868e3e91313b643818d18917b382 (patch)
tree5fd1495efb9118a6a2dc88df5a8ae2a8da7819a1
parent01d1f7a99e457952aa51849ed7c1cc4ced7bca4b (diff)
downloadop-kernel-dev-b1448ea9cd95868e3e91313b643818d18917b382.zip
op-kernel-dev-b1448ea9cd95868e3e91313b643818d18917b382.tar.gz
iio: adc: TI_AM335X_ADC should depend on HAS_DMA
If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/iio/adc/ti_am335x_adc.ko] undefined! Add a dependency on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Fixes: f438b9da (" drivers: iio: ti_am335x_adc: add dma support") Cc: <stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r--drivers/iio/adc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 38bc319..9c8b558 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -561,7 +561,7 @@ config TI_ADS8688
config TI_AM335X_ADC
tristate "TI's AM335X ADC driver"
- depends on MFD_TI_AM335X_TSCADC
+ depends on MFD_TI_AM335X_TSCADC && HAS_DMA
select IIO_BUFFER
select IIO_KFIFO_BUF
help
OpenPOWER on IntegriCloud