OMAP2+: hwmod: find MPU initiator hwmod during in _register()
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 20:55:08 +0000 (13:55 -0700)
commit569edd705cc4e81a9129b5557f1fb259e21418a9
treeb85d811248b54ba6f1c279730d328668fdedb799
parent550c8092c55c22db8f843bad070fd1731292a75e
OMAP2+: hwmod: find MPU initiator hwmod during in _register()

Move the code that looks for the MPU initiator hwmod to run during
the individual hwmod _register() function.  (Previously, it ran after
all hwmods were registered in the omap_hwmod_late_init() function.)

This is done so code can late-initialize a few individual hwmods --
for example, for the system timer -- before the entire set of hwmods is
initialized later in boot via omap_hwmod_late_init().

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