summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/Makefile
diff options
context:
space:
mode:
authorSimon Que <sque@ti.com>2011-02-17 09:52:03 -0800
committerTony Lindgren <tony@atomide.com>2011-02-17 09:52:43 -0800
commit7bb412a64281c599dcf00af2eed61ea997b282c2 (patch)
tree416a67d6f6f39aa96fd92e2caa6a533df96ad11a /arch/arm/mach-omap2/Makefile
parent70ba4cc26b9f53859e863ec3b9a5f5fc0ce4d6a2 (diff)
downloadtalos-op-linux-7bb412a64281c599dcf00af2eed61ea997b282c2.tar.gz
talos-op-linux-7bb412a64281c599dcf00af2eed61ea997b282c2.zip
omap: add hwspinlock device
Build and register an hwspinlock platform device. Although only OMAP4 supports the hardware spinlock module (for now), it is still safe to run this initcall on all omaps, because hwmod lookup will simply fail on hwspinlock-less platforms. Signed-off-by: Simon Que <sque@ti.com> Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com> Cc: Benoit Cousson <b-cousson@ti.com> Cc: Kevin Hilman <khilman@ti.com> Cc: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r--arch/arm/mach-omap2/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index a9e3974d015f..ec24999eefea 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -243,3 +243,4 @@ obj-y += $(smc91x-m) $(smc91x-y)
smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o
obj-y += $(smsc911x-m) $(smsc911x-y)
+obj-$(CONFIG_ARCH_OMAP4) += hwspinlock.o
OpenPOWER on IntegriCloud