Re: [PATCH] drm: etnaviv: constify etnaviv_iommu_ops structures

2017-01-16 Thread Lucas Stach
Am Montag, den 16.01.2017, 00:20 +0530 schrieb Bhumika Goyal: > Declare etnaviv_iommu_ops structure as const as it is only used when > the reference of one of its field is stored in the ops field of a > iommu_domain structure. This ops field is of type const, so > etnaviv_iommu_ops structures havi

[PATCH] drm: etnaviv: constify etnaviv_iommu_ops structures

2017-01-15 Thread Bhumika Goyal
Declare etnaviv_iommu_ops structure as const as it is only used when the reference of one of its field is stored in the ops field of a iommu_domain structure. This ops field is of type const, so etnaviv_iommu_ops structures having similar properties can be declared const too. Done using Coccinell