aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/amd_iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/amd_iommu.c')
-rw-r--r--arch/x86/kernel/amd_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c
index 2e2da717b35..658e29e0f49 100644
--- a/arch/x86/kernel/amd_iommu.c
+++ b/arch/x86/kernel/amd_iommu.c
@@ -1296,7 +1296,7 @@ static int amd_iommu_dma_supported(struct device *dev, u64 mask)
1296 * we don't need to preallocate the protection domains anymore. 1296 * we don't need to preallocate the protection domains anymore.
1297 * For now we have to. 1297 * For now we have to.
1298 */ 1298 */
1299void prealloc_protection_domains(void) 1299static void prealloc_protection_domains(void)
1300{ 1300{
1301 struct pci_dev *dev = NULL; 1301 struct pci_dev *dev = NULL;
1302 struct dma_ops_domain *dma_dom; 1302 struct dma_ops_domain *dma_dom;