Skip to content
Commit 8e1034a5 authored by Jan Beulich's avatar Jan Beulich Committed by Juergen Gross
Browse files

xen/pci-swiotlb: reduce visibility of symbols



xen_swiotlb and pci_xen_swiotlb_init() are only used within the file
defining them, so make them static and remove the stubs. Otoh
pci_xen_swiotlb_detect() has a use (as function pointer) from the main
pci-swiotlb.c file - convert its stub to a #define to NULL.

Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>

Link: https://lore.kernel.org/r/aef5fc33-9c02-4df0-906a-5c813142e13c@suse.com


Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
parent e243ae95
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment