Latest OMAP4 build errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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'
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux