From: Omar Ramirez Luna Date: Sun, 23 Sep 2012 23:28:23 +0000 (-0600) Subject: ARM: OMAP: iommu: fix including iommu.h without IOMMU_API selected X-Git-Tag: omap-devel-late-for-v3.7^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7460f1407ed8d46042b81a4227f19bc03e4d1072;p=pandora-kernel.git 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 Signed-off-by: Omar Ramirez Luna Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed