Patch to add support to build hwspinlock modules

Signed-off-by: Simon Que <[email protected]>
---
 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

Attachment: binGYDapB62mR.bin
Description: 0004-omap-hwspinlock-Patch-to-add-support-to-build-hwspinlock-modules.patch

Reply via email to