dma-mapping: move valid_dma_direction to dma-direction.h
Move the valid_dma_direction helper to a more suitable header, andclean it up to use the proper enum as well as removing pointless braces.Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig 5 years ago db4268f8 7ae10eb9