diff options
author | Christoph Hellwig <hch@lst.de> | 2016-03-07 10:40:02 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-03-07 10:40:02 -0600 |
commit | bc4b024a8b8bd7dceb2697299aad2bda57d065e0 (patch) | |
tree | 50eb9449ba9ea1d44873079b39a6b9ec65e7680c /arch/parisc/include | |
parent | 611609bcf778a5f1aa321e632ac6dae50d507096 (diff) | |
download | op-kernel-dev-bc4b024a8b8bd7dceb2697299aad2bda57d065e0.zip op-kernel-dev-bc4b024a8b8bd7dceb2697299aad2bda57d065e0.tar.gz |
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/parisc/include')
-rw-r--r-- | arch/parisc/include/asm/pci.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/parisc/include/asm/pci.h b/arch/parisc/include/asm/pci.h index 89c53bf..defebd9 100644 --- a/arch/parisc/include/asm/pci.h +++ b/arch/parisc/include/asm/pci.h @@ -194,9 +194,6 @@ extern void pcibios_init_bridge(struct pci_dev *); #define PCIBIOS_MIN_IO 0x10 #define PCIBIOS_MIN_MEM 0x1000 /* NBPG - but pci/setup-res.c dies */ -/* export the pci_ DMA API in terms of the dma_ one */ -#include <asm-generic/pci-dma-compat.h> - static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) { return channel ? 15 : 14; |