aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/parisc/ccio-dma.c2
-rw-r--r--include/asm-generic/pci-dma-compat.h6
2 files changed, 0 insertions, 8 deletions
diff --git a/drivers/parisc/ccio-dma.c b/drivers/parisc/ccio-dma.c
index 957b42198328..8e11fb2831cd 100644
--- a/drivers/parisc/ccio-dma.c
+++ b/drivers/parisc/ccio-dma.c
@@ -704,8 +704,6 @@ ccio_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt)
704 * ccio_dma_supported - Verify the IOMMU supports the DMA address range. 704 * ccio_dma_supported - Verify the IOMMU supports the DMA address range.
705 * @dev: The PCI device. 705 * @dev: The PCI device.
706 * @mask: A bit mask describing the DMA address range of the device. 706 * @mask: A bit mask describing the DMA address range of the device.
707 *
708 * This function implements the pci_dma_supported function.
709 */ 707 */
710static int 708static int
711ccio_dma_supported(struct device *dev, u64 mask) 709ccio_dma_supported(struct device *dev, u64 mask)
diff --git a/include/asm-generic/pci-dma-compat.h b/include/asm-generic/pci-dma-compat.h
index c110843fc53b..eafce7b6f052 100644
--- a/include/asm-generic/pci-dma-compat.h
+++ b/include/asm-generic/pci-dma-compat.h
@@ -6,12 +6,6 @@
6 6
7#include <linux/dma-mapping.h> 7#include <linux/dma-mapping.h>
8 8
9static inline int
10pci_dma_supported(struct pci_dev *hwdev, u64 mask)
11{
12 return dma_supported(hwdev == NULL ? NULL : &hwdev->dev, mask);
13}
14
15static inline void * 9static inline void *
16pci_alloc_consistent(struct pci_dev *hwdev, size_t size, 10pci_alloc_consistent(struct pci_dev *hwdev, size_t size,
17 dma_addr_t *dma_handle) 11 dma_addr_t *dma_handle)