summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/pci.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-03-07 10:40:02 -0600
committerBjorn Helgaas <bhelgaas@google.com>2016-03-07 10:40:02 -0600
commitbc4b024a8b8bd7dceb2697299aad2bda57d065e0 (patch)
tree50eb9449ba9ea1d44873079b39a6b9ec65e7680c /arch/powerpc/include/asm/pci.h
parent611609bcf778a5f1aa321e632ac6dae50d507096 (diff)
downloadop-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/powerpc/include/asm/pci.h')
-rw-r--r--arch/powerpc/include/asm/pci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/pci.h b/arch/powerpc/include/asm/pci.h
index 6f8065a..a6f3ac0 100644
--- a/arch/powerpc/include/asm/pci.h
+++ b/arch/powerpc/include/asm/pci.h
@@ -20,8 +20,6 @@
#include <asm/prom.h>
#include <asm/pci-bridge.h>
-#include <asm-generic/pci-dma-compat.h>
-
/* Return values for pci_controller_ops.probe_mode function */
#define PCI_PROBE_NONE -1 /* Don't look at this bus at all */
#define PCI_PROBE_NORMAL 0 /* Do normal PCI probing */
OpenPOWER on IntegriCloud