]> git.baikalelectronics.ru Git - kernel.git/commit
ARM/dma-mapping: remove the dma_coherent member of struct dev_archdata
authorChristoph Hellwig <hch@lst.de>
Thu, 6 Oct 2022 07:43:01 +0000 (09:43 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Oct 2022 12:31:08 +0000 (14:31 +0200)
commit9cb90de11d9eed4be251ea11f6915576e0d8fcc5
tree5cd90ac54f6b4912892eae6f4ed627f941ac6afe
parent4493c2b6a0ea85c790ae2dde891a734565c70b5b
ARM/dma-mapping: remove the dma_coherent member of struct dev_archdata

Since commit 80f7d969b0df ("ARM/dma-mapping: use dma-direct
unconditionally") only the dma_coherent flag in struct device is used,
so remove the now write only flag in struct dev_archdata.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/device.h
arch/arm/mm/dma-mapping.c