OMAP2+: hwmod: rename some init functions

Rename omap_hwmod_init() to omap_hwmod_register().  Rename
omap_hwmod_late_init() to omap_hwmod_setup_all().  Also change all of
the callers to reflect the new names.  While here, update some
copyrights.

Suggested by Tony Lindgren <tony@atomide.com>.

N.B. The comment in mach-omap2/serial.c may no longer be correct, given
     recent changes in init order.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Benoît Cousson <b-cousson@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
This commit is contained in:
Paul Walmsley
2011-02-28 11:58:14 -07:00
parent bac1a0f0bb
commit 550c8092c5
7 changed files with 24 additions and 25 deletions

View File

@@ -680,7 +680,7 @@ static int __init omap_serial_early_init(void)
num_uarts++;
/*
* NOTE: omap_hwmod_init() has not yet been called,
* NOTE: omap_hwmod_setup*() has not yet been called,
* so no hwmod functions will work yet.
*/