PCI: Unify PCI and normal DMA direction definitions
authorShunyong Yang <shunyong.yang@hxt-semitech.com>
Wed, 18 Jul 2018 01:40:35 +0000 (09:40 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 31 Jul 2018 23:04:55 +0000 (18:04 -0500)
commit546c596cf5491fda1516536e049c6a36836eb884
tree3f0d685c526147e67a17ffda1e8543ce7355f819
parentf7368a550275ee56da70fd4d603d5a3eb4b614e9
PCI: Unify PCI and normal DMA direction definitions

Current DMA direction definitions in pci-dma-compat.h and dma-direction.h
are mirrored in value.  Unify them to enhance readability and avoid
possible inconsistency.

Signed-off-by: Shunyong Yang <shunyong.yang@hxt-semitech.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Joey Zheng <yu.zheng@hxt-semitech.com>
include/linux/dma-direction.h
include/linux/pci-dma-compat.h