diff mbox

[4/5] omap:hwspinlock-add build support

Message ID 1279558221-14954-5-git-send-email-h-kanigeri2@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Kanigeri, Hari July 19, 2010, 4:50 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 13825a2..d29ea57 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -177,3 +177,5 @@  smc91x-$(CONFIG_SMC91X)			:= gpmc-smc91x.o
 obj-y					+= $(smc91x-m) $(smc91x-y)
 
 obj-$(CONFIG_LEDS_PWM)			+= twl6030_pwm.o
+
+obj-$(CONFIG_ARCH_OMAP4)		+= hwspinlocks.o
diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile
index 87e5124..5d08f1c 100644
--- a/arch/arm/plat-omap/Makefile
+++ b/arch/arm/plat-omap/Makefile
@@ -38,3 +38,5 @@  obj-y += $(i2c-omap-m) $(i2c-omap-y)
 obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox.o
 
 obj-$(CONFIG_OMAP_PM_NOOP) += omap-pm-noop.o
+
+obj-$(CONFIG_ARCH_OMAP4) += hwspinlock.o