Re: [PATCH] iommu: Make of_device_id array const

kiran.padwal at smartplayin.com kiran.padwal at smartplayin.com
Fri Sep 12 05:44:50 PDT 2014



On Thursday, September 11, 2014 9:51am, "Will Deacon" <will.deacon at arm.com> said:

> On Thu, Sep 11, 2014 at 02:37:36PM +0100, Kiran Padwal wrote:
>> Make of_device_id array const, because all OF functions handle it as const.
>>
>> Signed-off-by: Kiran Padwal <kiran.padwal at smartplayin.com>
>> ---
>>  drivers/iommu/arm-smmu.c   |    2 +-
>>  drivers/iommu/omap-iommu.c |    2 +-
>>  drivers/iommu/tegra-gart.c |    2 +-
>>  drivers/iommu/tegra-smmu.c |    2 +-
>>  4 files changed, 4 insertions(+), 4 deletions(-)
> 
> Ha, I've seen a few of these patches recently. Did some tool just get
> support for detecting this?

No

> 
> Anyway, looks fine and should probably go via Joerg.
> 
> Will
> 





More information about the linux-arm-kernel mailing list