diff options
Diffstat (limited to 'drivers/iommu/intel-iommu.c')
-rw-r--r-- | drivers/iommu/intel-iommu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index 1b89c3407251..ca0a1d5d2983 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c | |||
@@ -4587,7 +4587,8 @@ static int __init platform_optin_force_iommu(void) | |||
4587 | static int __init probe_acpi_namespace_devices(void) | 4587 | static int __init probe_acpi_namespace_devices(void) |
4588 | { | 4588 | { |
4589 | struct dmar_drhd_unit *drhd; | 4589 | struct dmar_drhd_unit *drhd; |
4590 | struct intel_iommu *iommu; | 4590 | /* To avoid a -Wunused-but-set-variable warning. */ |
4591 | struct intel_iommu *iommu __maybe_unused; | ||
4591 | struct device *dev; | 4592 | struct device *dev; |
4592 | int i, ret = 0; | 4593 | int i, ret = 0; |
4593 | 4594 | ||