summaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-03-07 19:40:02 +0300
committerBjorn Helgaas <bhelgaas@google.com>2016-03-07 19:40:02 +0300
commitbc4b024a8b8bd7dceb2697299aad2bda57d065e0 (patch)
tree50eb9449ba9ea1d44873079b39a6b9ec65e7680c /arch/sparc
parent611609bcf778a5f1aa321e632ac6dae50d507096 (diff)
downloadlinux-bc4b024a8b8bd7dceb2697299aad2bda57d065e0.tar.xz
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/sparc')
-rw-r--r--arch/sparc/include/asm/pci.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sparc/include/asm/pci.h b/arch/sparc/include/asm/pci.h
index d9c031f9910f..6e14fd179335 100644
--- a/arch/sparc/include/asm/pci.h
+++ b/arch/sparc/include/asm/pci.h
@@ -5,7 +5,4 @@
#else
#include <asm/pci_32.h>
#endif
-
-#include <asm-generic/pci-dma-compat.h>
-
#endif