diff options
Diffstat (limited to 'drivers/iommu/intel-iommu.c')
-rw-r--r-- | drivers/iommu/intel-iommu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index f9e5f84ee952..41d9a2dcab2e 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c | |||
@@ -450,7 +450,7 @@ EXPORT_SYMBOL_GPL(intel_iommu_gfx_mapped); | |||
450 | static DEFINE_SPINLOCK(device_domain_lock); | 450 | static DEFINE_SPINLOCK(device_domain_lock); |
451 | static LIST_HEAD(device_domain_list); | 451 | static LIST_HEAD(device_domain_list); |
452 | 452 | ||
453 | static struct iommu_ops intel_iommu_ops; | 453 | static const struct iommu_ops intel_iommu_ops; |
454 | 454 | ||
455 | static int __init intel_iommu_setup(char *str) | 455 | static int __init intel_iommu_setup(char *str) |
456 | { | 456 | { |
@@ -4453,7 +4453,7 @@ static void intel_iommu_remove_device(struct device *dev) | |||
4453 | iommu_device_unlink(iommu->iommu_dev, dev); | 4453 | iommu_device_unlink(iommu->iommu_dev, dev); |
4454 | } | 4454 | } |
4455 | 4455 | ||
4456 | static struct iommu_ops intel_iommu_ops = { | 4456 | static const struct iommu_ops intel_iommu_ops = { |
4457 | .domain_init = intel_iommu_domain_init, | 4457 | .domain_init = intel_iommu_domain_init, |
4458 | .domain_destroy = intel_iommu_domain_destroy, | 4458 | .domain_destroy = intel_iommu_domain_destroy, |
4459 | .attach_dev = intel_iommu_attach_device, | 4459 | .attach_dev = intel_iommu_attach_device, |