diff options
author | Christoph Hellwig <hch@lst.de> | 2020-02-17 12:48:59 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-03-20 11:43:21 +0100 |
commit | fd27a526bb381f43dded6db30b3b016468ab0e6c (patch) | |
tree | 8b2bba73836b7c6f1c9ae53dff6e3bae18042d23 /arch/arm/include/asm | |
parent | 7607cb733fbb6dfac88c4a85c113e8104c91733e (diff) |
ARM/dma-mapping: merge __dma_supported into arm_dma_supported
Merge __dma_supported into its only caller, and move the resulting
function so that it doesn't need a forward declaration. Also mark
it static as there are no callers outside of dma-mapping.c.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/dma-iommu.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/include/asm/dma-iommu.h b/arch/arm/include/asm/dma-iommu.h index 772f48ef84b7..86405cc81385 100644 --- a/arch/arm/include/asm/dma-iommu.h +++ b/arch/arm/include/asm/dma-iommu.h @@ -33,7 +33,5 @@ int arm_iommu_attach_device(struct device *dev, struct dma_iommu_mapping *mapping); void arm_iommu_detach_device(struct device *dev); -int arm_dma_supported(struct device *dev, u64 mask); - #endif /* __KERNEL__ */ #endif |