OMAP2+: hwmod: Make omap_hwmod_register private and remove omap_hwmod_unregister
authorBenoit Cousson <b-cousson@ti.com>
Wed, 22 Dec 2010 04:31:27 +0000 (21:31 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 22 Dec 2010 04:31:27 +0000 (21:31 -0700)
commit0102b62789af5aed92cea4cf7f36afaa1ab12c72
tree83b7d7f6d0731dc28f68a1c3e3806e12158d4669
parent50ebb7772c8975086dbfc3d21be74dd806650df4
OMAP2+: hwmod: Make omap_hwmod_register private and remove omap_hwmod_unregister

Do not allow omap_hwmod_register to be used outside the core
hwmod code. An omap_hwmod should be registered only at init time.
Remove the omap_hwmod_unregister that is not used today since the
hwmod list will be built once at init time and never be modified
at runtime.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/plat-omap/include/plat/omap_hwmod.h