]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1636521d75284a7fee7a31b179f72c4c2229a6f6
tree3f0d685c526147e67a17ffda1e8543ce7355f819
parentef83fce2ce80703fe6255effc19fb7e1c590ff31
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