omap iommu: Make omap-iommu.o built-in
authorHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Mon, 24 May 2010 06:35:11 +0000 (09:35 +0300)
committerHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Tue, 29 Jun 2010 04:55:07 +0000 (07:55 +0300)
This is a platform device registration.

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
arch/arm/mach-omap2/Makefile

index ea52b034e9635708b93f869a81b2c40a1f9dd644..6c6d7c6f7aee2e18e59ca77da3755b7cc5cbeda4 100644 (file)
@@ -89,7 +89,10 @@ obj-$(CONFIG_OMAP3_EMU)                      += emu.o
 obj-$(CONFIG_OMAP_MBOX_FWK)            += mailbox_mach.o
 mailbox_mach-objs                      := mailbox.o
 
-obj-$(CONFIG_OMAP_IOMMU)               := iommu2.o omap-iommu.o
+obj-$(CONFIG_OMAP_IOMMU)               += iommu2.o
+
+iommu-$(CONFIG_OMAP_IOMMU)             := omap-iommu.o
+obj-y                                  += $(iommu-m) $(iommu-y)
 
 i2c-omap-$(CONFIG_I2C_OMAP)            := i2c.o
 obj-y                                  += $(i2c-omap-m) $(i2c-omap-y)