dma-coherent: remove the DMA_MEMORY_MAP and DMA_MEMORY_IO flags
authorChristoph Hellwig <hch@lst.de>
Fri, 25 Aug 2017 15:13:09 +0000 (17:13 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Sep 2017 09:59:17 +0000 (11:59 +0200)
commit2436bdcda53ff4abb7897c87fa29ef3de8055344
treeaa9204da61d1e888fea12ac09c948f5d77e793c5
parentb32dbc1e0bf0eaa8bdd725491b361d5fc2f57a85
dma-coherent: remove the DMA_MEMORY_MAP and DMA_MEMORY_IO flags

DMA_MEMORY_IO was never used in the tree, so remove it.  That means there is
no need for the DMA_MEMORY_MAP flag either now, so remove it as well and
change dma_declare_coherent_memory to return a normal errno value.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com>
Documentation/DMA-API.txt
arch/arm/mach-imx/mach-imx27_visstrim_m10.c
arch/arm/mach-imx/mach-mx31moboard.c
arch/sh/drivers/pci/fixups-dreamcast.c
drivers/base/dma-coherent.c
drivers/base/dma-mapping.c
drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c
drivers/scsi/NCR_Q720.c
drivers/usb/host/ohci-sm501.c
drivers/usb/host/ohci-tmio.c
include/linux/dma-mapping.h