]> git.baikalelectronics.ru Git - kernel.git/commit
dma-mapping: move valid_dma_direction to dma-direction.h
authorChristoph Hellwig <hch@lst.de>
Fri, 11 Sep 2020 07:31:32 +0000 (09:31 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Sep 2020 04:12:25 +0000 (06:12 +0200)
commitcb38f95694af0448cc9b578f5858b8e0a25632f8
tree8b9570bf4f6443537a9f808be1c5b528075958c6
parent181aedcf10de00e4f4bc5c95682b9a9769c58d2b
dma-mapping: move valid_dma_direction to dma-direction.h

Move the valid_dma_direction helper to a more suitable header, and
clean it up to use the proper enum as well as removing pointless braces.

Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/dma-direction.h
include/linux/dma-mapping.h