Re: [PATCH] iio: adc: STM32_DFSDM_ADC should depend on HAS_DMA

From: Mark Brown
Date: Tue Jan 30 2018 - 10:03:49 EST


On Tue, Jan 30, 2018 at 02:21:46PM +0100, Geert Uytterhoeven wrote:
> If NO_DMA=y:
>
> ERROR: "bad_dma_ops" [drivers/iio/adc/stm32-dfsdm-adc.ko] undefined!
>
> Add a dependency on HAS_DMA to fix this.

Once again I have to ask why we're doing this per driver and not having
the few architectures that have this issue set something up.

Attachment: signature.asc
Description: PGP signature