diff options
author | Omar Ramirez Luna <omar.luna@linaro.org> | 2012-09-23 19:28:23 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-09-23 19:28:23 -0400 |
commit | 7460f1407ed8d46042b81a4227f19bc03e4d1072 (patch) | |
tree | bf0fc6692aca2872769e3891599059b6a043abfc /arch/arm/mach-omap1/leds.h | |
parent | 53cce97c3922fe4c08d2474e4f7b1968e79d7219 (diff) |
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: Omar Ramirez Luna <omar.luna@linaro.org>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap1/leds.h')
0 files changed, 0 insertions, 0 deletions