Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751282AbdH1MMF (ORCPT ); Mon, 28 Aug 2017 08:12:05 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:37551 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750866AbdH1MMD (ORCPT ); Mon, 28 Aug 2017 08:12:03 -0400 From: Arvind Yadav To: m.szyprowski@samsung.com, joro@8bytes.org, kgene@kernel.org, krzk@kernel.org, matthias.bgg@gmail.com, gerald.schaefer@de.ibm.com Cc: linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/3] constify iommu_ops Date: Mon, 28 Aug 2017 17:41:37 +0530 Message-Id: <1503922298-25862-1-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 574 Lines: 18 iommu_ops are not supposed to change at runtime. Functions 'iommu_device_set_ops' and 'bus_set_iommu' working with const iommu_ops provided by . So mark the non-const structs as const. Arvind Yadav (3): [PATCH 1/3] iommu: exynos: constify iommu_ops [PATCH 2/3] iommu: mtk: constify iommu_ops [PATCH 3/3] iommu: s390: constify iommu_ops drivers/iommu/exynos-iommu.c | 4 ++-- drivers/iommu/mtk_iommu.c | 4 ++-- drivers/iommu/mtk_iommu_v1.c | 4 ++-- drivers/iommu/s390-iommu.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) -- 1.9.1