Re: [PATCH] iommu: Make of_device_id array const
From: Will Deacon
Date: Thu Sep 11 2014 - 09:52:16 EST
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@xxxxxxxxxxxxxxx>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/