OMAP2+: hwmod: allow multiple calls to omap_hwmod_init()
authorPaul Walmsley <paul@pwsan.com>
Wed, 23 Feb 2011 07:14:06 +0000 (00:14 -0700)
committerPaul Walmsley <paul@pwsan.com>
Mon, 28 Feb 2011 19:04:25 +0000 (12:04 -0700)
commitbac1a0f0bbf0b11b23fe714826f29fc9aeb35855
tree663236a6d8b986e66d83642d8b3b13aa137226af
parentce722d269ff85ab11aa680784bcc6eff06e3e3ea
OMAP2+: hwmod: allow multiple calls to omap_hwmod_init()

There's no longer any reason why we should prevent multiple
calls to omap_hwmod_init().  It is now simply used to register an
array of hwmods.

This should allow a subset of hwmods (e.g., hwmods
handling the system clocksource and clockevents) to be registered
earlier than the remaining mass of hwmods.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/omap_hwmod.c