diff options
author | Christoph Hellwig <hch@lst.de> | 2016-03-07 17:40:02 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-03-07 17:40:02 +0100 |
commit | bc4b024a8b8bd7dceb2697299aad2bda57d065e0 (patch) | |
tree | 50eb9449ba9ea1d44873079b39a6b9ec65e7680c /arch/cris | |
parent | frv/PCI: Remove stray pci_{alloc,free}_consistent() declaration (diff) | |
download | linux-bc4b024a8b8bd7dceb2697299aad2bda57d065e0.tar.xz linux-bc4b024a8b8bd7dceb2697299aad2bda57d065e0.zip |
PCI: Move pci_dma_* helpers to common code
For a long time all architectures implement the pci_dma_* functions using
the generic DMA API, and they all use the same header to do so.
Move this header, pci-dma-compat.h, to include/linux and include it from
the generic pci.h instead of having each arch duplicate this include.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/include/asm/pci.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/cris/include/asm/pci.h b/arch/cris/include/asm/pci.h index c15b4b4baafa..b1b289df04c7 100644 --- a/arch/cris/include/asm/pci.h +++ b/arch/cris/include/asm/pci.h @@ -48,9 +48,6 @@ extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, #endif /* __KERNEL__ */ -/* implement the pci_ DMA API in terms of the generic device dma_ one */ -#include <asm-generic/pci-dma-compat.h> - /* generic pci stuff */ #include <asm-generic/pci.h> |