]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69149217c62689ea6ef06ad7178009b72c32a7f7
tree416a67d6f6f39aa96fd92e2caa6a533df96ad11a
parenta4687d7d5d4527291f1f89920f11e53d319c3bc9
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]