Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pci: remove pci_dma_supported

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Helge Deller <deller@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Christoph Hellwig and committed by
Linus Torvalds
247e75db 704c16db

-8
-2
drivers/parisc/ccio-dma.c
··· 704 704 * ccio_dma_supported - Verify the IOMMU supports the DMA address range. 705 705 * @dev: The PCI device. 706 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 */ 710 708 static int 711 709 ccio_dma_supported(struct device *dev, u64 mask)
-6
include/asm-generic/pci-dma-compat.h
··· 6 6 7 7 #include <linux/dma-mapping.h> 8 8 9 - static inline int 10 - pci_dma_supported(struct pci_dev *hwdev, u64 mask) 11 - { 12 - return dma_supported(hwdev == NULL ? NULL : &hwdev->dev, mask); 13 - } 14 - 15 9 static inline void * 16 10 pci_alloc_consistent(struct pci_dev *hwdev, size_t size, 17 11 dma_addr_t *dma_handle)