omap: add hwspinlock device
authorSimon Que <sque@ti.com>
Thu, 17 Feb 2011 17:52:03 +0000 (09:52 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 17 Feb 2011 17:52:43 +0000 (09:52 -0800)
commit7bb412a64281c599dcf00af2eed61ea997b282c2
tree416a67d6f6f39aa96fd92e2caa6a533df96ad11a
parent70ba4cc26b9f53859e863ec3b9a5f5fc0ce4d6a2
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>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/hwspinlock.c [new file with mode: 0644]