[PATCH] iommu: Make of_device_id array const

Will Deacon will.deacon at arm.com
Thu Sep 11 06:51:19 PDT 2014


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?

Anyway, looks fine and should probably go via Joerg.

Will



More information about the linux-arm-kernel mailing list