AMD IOMMU: prealloc_protection_domains should be static

Impact: cleanup, reduce kernel size a bit, avoid sparse warning

Fixes sparse warning:
arch/x86/kernel/amd_iommu.c:1299:6: warning: symbol 'prealloc_protection_domains' was not declared. Should it be static?

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

authored by

Jaswinder Singh Rajput and committed by
Joerg Roedel
0e93dd88 8ecaf8f1

+1 -1
+1 -1
arch/x86/kernel/amd_iommu.c
··· 1622 1622 * we don't need to preallocate the protection domains anymore. 1623 1623 * For now we have to. 1624 1624 */ 1625 - void prealloc_protection_domains(void) 1625 + static void prealloc_protection_domains(void) 1626 1626 { 1627 1627 struct pci_dev *dev = NULL; 1628 1628 struct dma_ops_domain *dma_dom;