Re: [PATCH] iommu: shmobile: depend on ARCH_SHMOBILE

From: Laurent Pinchart
Date: Mon Feb 10 2014 - 07:51:07 EST


Hi Paul,

Thank you for the patch.

On Saturday 08 February 2014 22:21:54 Paul Bolle wrote:
> Commit 78a2e12f51d9 ("iommu: shmobile: Enable driver compilation with
> COMPILE_TEST") added an optional dependency on SH_MOBILE. But that
> Kconfig symbol doesn't exist. It seems ARCH_SHMOBILE was intended. Use
> that.
>
> Signed-off-by: Paul Bolle <pebolle@xxxxxxxxxx>

Acked-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>

Joerg, could you please pick this patch up ?

> ---
> Completely untested.
>
> drivers/iommu/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
> index 79bbc21..df56e4c 100644
> --- a/drivers/iommu/Kconfig
> +++ b/drivers/iommu/Kconfig
> @@ -207,7 +207,7 @@ config SHMOBILE_IOMMU
> bool "IOMMU for Renesas IPMMU/IPMMUI"
> default n
> depends on ARM
> - depends on SH_MOBILE || COMPILE_TEST
> + depends on ARCH_SHMOBILE || COMPILE_TEST
> select IOMMU_API
> select ARM_DMA_USE_IOMMU
> select SHMOBILE_IPMMU

--
Regards,

Laurent Pinchart

--
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/