]> 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)
commit152f302377e0e023b4c4f0f542ffd26406cf1538
tree3f0d685c526147e67a17ffda1e8543ce7355f819
parent5b0e0684224bc6762d2afdd2d050dc1578fb6fbc
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