aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intel-iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iommu/intel-iommu.c')
-rw-r--r--drivers/iommu/intel-iommu.c4
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);
450static DEFINE_SPINLOCK(device_domain_lock); 450static DEFINE_SPINLOCK(device_domain_lock);
451static LIST_HEAD(device_domain_list); 451static LIST_HEAD(device_domain_list);
452 452
453static struct iommu_ops intel_iommu_ops; 453static const struct iommu_ops intel_iommu_ops;
454 454
455static int __init intel_iommu_setup(char *str) 455static 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
4456static struct iommu_ops intel_iommu_ops = { 4456static 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,