diff options
author | Christoph Hellwig <hch@lst.de> | 2022-08-21 16:06:44 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-09-07 10:38:28 +0200 |
commit | 9fc18f6d56d5b79d527c17a8100a0965d18345cf (patch) | |
tree | 9c5f047a153434eca986ff18e13947e5b8736df3 /kernel/dma | |
parent | 43b919017fe755ccd2b19afb2dc2d3da8f840038 (diff) | |
download | linux-stable-9fc18f6d56d5b79d527c17a8100a0965d18345cf.tar.gz linux-stable-9fc18f6d56d5b79d527c17a8100a0965d18345cf.tar.bz2 linux-stable-9fc18f6d56d5b79d527c17a8100a0965d18345cf.zip |
dma-mapping: mark dma_supported static
Now that the remaining users in drivers are gone, this function can be
marked static.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/dma')
-rw-r--r-- | kernel/dma/mapping.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/dma/mapping.c b/kernel/dma/mapping.c index 49cbf3e33de7..27f272381cf2 100644 --- a/kernel/dma/mapping.c +++ b/kernel/dma/mapping.c @@ -707,7 +707,7 @@ int dma_mmap_noncontiguous(struct device *dev, struct vm_area_struct *vma, } EXPORT_SYMBOL_GPL(dma_mmap_noncontiguous); -int dma_supported(struct device *dev, u64 mask) +static int dma_supported(struct device *dev, u64 mask) { const struct dma_map_ops *ops = get_dma_ops(dev); @@ -721,7 +721,6 @@ int dma_supported(struct device *dev, u64 mask) return 1; return ops->dma_supported(dev, mask); } -EXPORT_SYMBOL(dma_supported); bool dma_pci_p2pdma_supported(struct device *dev) { |