aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_hwmod.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2011-02-14 18:40:20 -0500
committerTony Lindgren <tony@atomide.com>2011-02-14 18:40:49 -0500
commit44dc046e93eb98d41048954f700b1927f7e288ed (patch)
treecc3d2a75161d0be96a1dc4c3f17f91e1ffed3ca0 /arch/arm/mach-omap2/omap_hwmod.c
parent3dc3bad6f1b316d79d9d1d596a590b5097cb3dc4 (diff)
omap2+: Make omap_hwmod_late_init into core_initcall
Otherwise things will fail with early_init changes. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.c')
-rw-r--r--arch/arm/mach-omap2/omap_hwmod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c
index e282e35769fd..eacdfd3a14d6 100644
--- a/arch/arm/mach-omap2/omap_hwmod.c
+++ b/arch/arm/mach-omap2/omap_hwmod.c
@@ -1628,7 +1628,7 @@ int __init omap_hwmod_init(struct omap_hwmod **ohs)
1628 * to struct clk pointers for each registered omap_hwmod. Also calls 1628 * to struct clk pointers for each registered omap_hwmod. Also calls
1629 * _setup() on each hwmod. Returns 0. 1629 * _setup() on each hwmod. Returns 0.
1630 */ 1630 */
1631int omap_hwmod_late_init(void) 1631static int __init omap_hwmod_late_init(void)
1632{ 1632{
1633 int r; 1633 int r;
1634 1634
@@ -1644,6 +1644,7 @@ int omap_hwmod_late_init(void)
1644 1644
1645 return 0; 1645 return 0;
1646} 1646}
1647core_initcall(omap_hwmod_late_init);
1647 1648
1648/** 1649/**
1649 * omap_hwmod_enable - enable an omap_hwmod 1650 * omap_hwmod_enable - enable an omap_hwmod