From f50d33433a2ff3e0028c3c859a67040ffa1e1a98 Mon Sep 17 00:00:00 2001 From: Simon Que Date: Fri, 6 Aug 2010 10:50:15 -0500 Subject: [PATCH 4/4] Patch to add support to build hwspinlock modules Signed-off-by: Simon Que --- arch/arm/mach-omap2/Makefile | 2 ++ arch/arm/plat-omap/Makefile | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 630f880..fe49340 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile @@ -176,3 +176,5 @@ obj-y += $(nand-m) $(nand-y) smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o obj-y += $(smc91x-m) $(smc91x-y) + +obj-$(CONFIG_ARCH_OMAP4) += hwspinlocks.o diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile index ea8e555..c9f79d5 100644 --- a/arch/arm/plat-omap/Makefile +++ b/arch/arm/plat-omap/Makefile @@ -34,3 +34,5 @@ obj-$(CONFIG_OMAP_REMOTE_PROC) += remoteproc.o obj-$(CONFIG_OMAP_PM_NOOP) += omap-pm-noop.o obj-$(CONFIG_OMAP_PM) += omap-pm.o + +obj-$(CONFIG_ARCH_OMAP4) += hwspinlock.o -- 1.7.0