aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/amd_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c
index f75e0608be5b..ae2ec929e52f 100644
--- a/drivers/iommu/amd_iommu.c
+++ b/drivers/iommu/amd_iommu.c
@@ -2804,7 +2804,7 @@ static int amd_iommu_dma_supported(struct device *dev, u64 mask)
2804 * we don't need to preallocate the protection domains anymore. 2804 * we don't need to preallocate the protection domains anymore.
2805 * For now we have to. 2805 * For now we have to.
2806 */ 2806 */
2807static void prealloc_protection_domains(void) 2807static void __init prealloc_protection_domains(void)
2808{ 2808{
2809 struct iommu_dev_data *dev_data; 2809 struct iommu_dev_data *dev_data;
2810 struct dma_ops_domain *dma_dom; 2810 struct dma_ops_domain *dma_dom;