[PATCH 2/2] iommu: Drop unnecessary of_iommu.h includes

Heiko Stübner heiko at sntech.de
Fri May 28 08:54:27 PDT 2021


Am Donnerstag, 27. Mai 2021, 21:37:10 CEST schrieb Rob Herring:
> The only place of_iommu.h is needed is in drivers/of/device.c. Remove it
> from everywhere else.
> 
> Cc: Will Deacon <will at kernel.org>
> Cc: Robin Murphy <robin.murphy at arm.com>
> Cc: Joerg Roedel <joro at 8bytes.org>
> Cc: Rob Clark <robdclark at gmail.com>
> Cc: Marek Szyprowski <m.szyprowski at samsung.com>
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>
> Cc: Bjorn Andersson <bjorn.andersson at linaro.org>
> Cc: Yong Wu <yong.wu at mediatek.com>
> Cc: Matthias Brugger <matthias.bgg at gmail.com>
> Cc: Heiko Stuebner <heiko at sntech.de>
> Cc: Jean-Philippe Brucker <jean-philippe at linaro.org>
> Cc: Frank Rowand <frowand.list at gmail.com>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: iommu at lists.linux-foundation.org
> Signed-off-by: Rob Herring <robh at kernel.org>

> diff --git a/drivers/iommu/rockchip-iommu.c b/drivers/iommu/rockchip-iommu.c
> index 7a2932772fdf..bb50e015b1d5 100644
> --- a/drivers/iommu/rockchip-iommu.c
> +++ b/drivers/iommu/rockchip-iommu.c
> @@ -21,7 +21,6 @@
>  #include <linux/mm.h>
>  #include <linux/init.h>
>  #include <linux/of.h>
> -#include <linux/of_iommu.h>
>  #include <linux/of_platform.h>
>  #include <linux/platform_device.h>
>  #include <linux/pm_runtime.h>

for Rockchip:
Acked-by: Heiko Stuebner <heiko at sntech.de>





More information about the linux-arm-kernel mailing list