Re: [PATCH] iommu: provide of_xlate pointer unconditionally

2016-04-05 Thread Joerg Roedel
On Tue, Mar 15, 2016 at 10:37:17PM +0100, Arnd Bergmann wrote: > iommu drivers that support the standard DT bindings use a of_xlate > callback pointer, but that is only part of struct iommu_ops when > CONFIG_OF_IOMMU is enabled, leading to build errors in randconfig > builds when that is not provid

Re: [PATCH] iommu: provide of_xlate pointer unconditionally

2016-03-16 Thread Robin Murphy
On 15/03/16 21:37, Arnd Bergmann wrote: iommu drivers that support the standard DT bindings use a of_xlate callback pointer, but that is only part of struct iommu_ops when CONFIG_OF_IOMMU is enabled, leading to build errors in randconfig builds when that is not provided: drivers/iommu/mtk_iommu.

[PATCH] iommu: provide of_xlate pointer unconditionally

2016-03-15 Thread Arnd Bergmann
iommu drivers that support the standard DT bindings use a of_xlate callback pointer, but that is only part of struct iommu_ops when CONFIG_OF_IOMMU is enabled, leading to build errors in randconfig builds when that is not provided: drivers/iommu/mtk_iommu.c:497:2: error: unknown field 'of_xlate' s