linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Latest OMAP4 build errors
@ 2012-02-28  9:02 Russell King - ARM Linux
  2012-02-28  9:51 ` Ohad Ben-Cohen
  0 siblings, 1 reply; 13+ messages in thread
From: Russell King - ARM Linux @ 2012-02-28  9:02 UTC (permalink / raw)
  To: linux-omap; +Cc: Arnd Bergmann, Olof Johansson

This is from my tree plus arm-soc's for-next.  This build error was
introduced in arm-soc:

In file included from arch/arm/mach-omap2/iommu2.c:22:
arch/arm/plat-omap/include/plat/iommu.h: In function 'dev_to_omap_iommu':
arch/arm/plat-omap/include/plat/iommu.h:135: error: 'struct dev_archdata' has no member named 'iommu'
In file included from arch/arm/mach-omap2/omap-iommu.c:17:
arch/arm/plat-omap/include/plat/iommu.h: In function 'dev_to_omap_iommu':
arch/arm/plat-omap/include/plat/iommu.h:135: error: 'struct dev_archdata' has no member named 'iommu'

The problem appears to be that OMAP_IOMMU is selected without IOMMU_API.
This is done by:

config OMAP_REMOTEPROC
        tristate "OMAP remoteproc support"
        depends on ARCH_OMAP4
        select OMAP_IOMMU
...
        default m

This is wrong for two reasons:

1. It selects OMAP_IOMMU which may not have its dependencies satisfied.

warning: (OMAP_REMOTEPROC) selects OMAP_IOMMU which has unmet direct dependencies (IOMMU_SUPPORT && ARCH_OMAP)

2. It's a new feature.  It is experimental.  It should not default to 'm'

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-03-08  3:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-28  9:02 Latest OMAP4 build errors Russell King - ARM Linux
2012-02-28  9:51 ` Ohad Ben-Cohen
2012-02-28 10:01   ` Arnd Bergmann
2012-02-28 10:11     ` Ohad Ben-Cohen
2012-03-06 16:55       ` Russell King - ARM Linux
2012-03-06 17:01         ` Arnd Bergmann
2012-03-06 17:06           ` Ohad Ben-Cohen
2012-03-07 10:06           ` Russell King - ARM Linux
2012-03-07 17:10             ` Tony Lindgren
2012-03-07 22:18               ` Olof Johansson
2012-03-07 22:44                 ` Tony Lindgren
2012-03-07 23:43                   ` Russell King - ARM Linux
2012-03-08  3:34                     ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).