From: Christoph Hellwig Date: Fri, 7 Apr 2023 06:34:36 +0000 (+0200) Subject: swiotlb: unexport is_swiotlb_active X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=42e584a9856052c3695645d4e3ace767de01dfab;p=linux.git swiotlb: unexport is_swiotlb_active Drivers have no business looking at dma-mapping or swiotlb internals. Signed-off-by: Christoph Hellwig Reviewed-by: Juergen Gross --- diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c index 2b83e3ad9dca1..1c0a49e6685a9 100644 --- a/kernel/dma/swiotlb.c +++ b/kernel/dma/swiotlb.c @@ -956,7 +956,6 @@ bool is_swiotlb_active(struct device *dev) return mem && mem->nslabs; } -EXPORT_SYMBOL_GPL(is_swiotlb_active); #ifdef CONFIG_DEBUG_FS