mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
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>
This commit is contained in:
parent
704c16db0e
commit
247e75dba6
@ -704,8 +704,6 @@ ccio_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt)
|
||||
* ccio_dma_supported - Verify the IOMMU supports the DMA address range.
|
||||
* @dev: The PCI device.
|
||||
* @mask: A bit mask describing the DMA address range of the device.
|
||||
*
|
||||
* This function implements the pci_dma_supported function.
|
||||
*/
|
||||
static int
|
||||
ccio_dma_supported(struct device *dev, u64 mask)
|
||||
|
@ -6,12 +6,6 @@
|
||||
|
||||
#include <linux/dma-mapping.h>
|
||||
|
||||
static inline int
|
||||
pci_dma_supported(struct pci_dev *hwdev, u64 mask)
|
||||
{
|
||||
return dma_supported(hwdev == NULL ? NULL : &hwdev->dev, mask);
|
||||
}
|
||||
|
||||
static inline void *
|
||||
pci_alloc_consistent(struct pci_dev *hwdev, size_t size,
|
||||
dma_addr_t *dma_handle)
|
||||
|
Loading…
Reference in New Issue
Block a user