Some changes to remove code that uses `dma_alloc_coherent()` and `dma_free_coherent()` if `CONFIG_HAS_DMA` is not enabled and to avoid building modules that really need DMA buffer allocation. These changes are to avoid having to make the `COMEDI` configuration option depend on `HAS_DMA` which was proposed by Geert Uytterhoeven's "[PATCH 12/12] staging: COMEDI should depend on HAS_DMA" <https://lkml.org/lkml/2013/5/9/458>. 1) staging: comedi: work without HAS_DMA 2) staging: comedi: complain if dma buffer allocation not supported 3) staging: comedi: ni_mio_common: only do counter commands for ni_pcimio drivers/staging/comedi/Kconfig | 9 +++++++++ drivers/staging/comedi/comedi_buf.c | 12 ++++++++++++ drivers/staging/comedi/drivers/ni_mio_common.c | 20 ++++++++++---------- 3 files changed, 31 insertions(+), 10 deletions(-) _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel