Re: [PATCH v2 1/9] ARM: OMAP: iommu: fix including iommu.h withoutIOMMU_API selected

From: Paul Walmsley
Date: Wed Sep 19 2012 - 17:01:52 EST


On Wed, 12 Sep 2012, Omar Ramirez Luna wrote:

> If included without IOMMU_API being selected it will break
> compilation:
>
> arch/arm/plat-omap/include/plat/iommu.h:
> In function 'dev_to_omap_iommu':
> arch/arm/plat-omap/include/plat/iommu.h:148:
> error: 'struct dev_archdata' has no member named 'iommu'
>
> This will be seen when hwmod includes iommu.h to get the
> structure for attributes. Also needed for tidspbridge
> incremental migration to use iommu code.
>
> Cc: Tony Lindgren <tony@xxxxxxxxxxx>
> Signed-off-by: Omar Ramirez Luna <omar.luna@xxxxxxxxxx>

Thanks, queued for 3.7.

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