Skip to content
Commit 7460f140 authored by Omar Ramirez Luna's avatar Omar Ramirez Luna Committed by Paul Walmsley
Browse files

ARM: OMAP: iommu: fix including iommu.h without IOMMU_API selected



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@atomide.com>
Signed-off-by: default avatarOmar Ramirez Luna <omar.luna@linaro.org>
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
parent 53cce97c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment