diff options
author | Benoit Cousson <b-cousson@ti.com> | 2010-12-21 23:31:27 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-12-21 23:31:27 -0500 |
commit | 0102b62789af5aed92cea4cf7f36afaa1ab12c72 (patch) | |
tree | 83b7d7f6d0731dc28f68a1c3e3806e12158d4669 /arch/arm/plat-omap | |
parent | 50ebb7772c8975086dbfc3d21be74dd806650df4 (diff) |
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>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/omap_hwmod.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/include/plat/omap_hwmod.h b/arch/arm/plat-omap/include/plat/omap_hwmod.h index 62bdb23c95c..ab99b8cca6a 100644 --- a/arch/arm/plat-omap/include/plat/omap_hwmod.h +++ b/arch/arm/plat-omap/include/plat/omap_hwmod.h | |||
@@ -515,8 +515,6 @@ struct omap_hwmod { | |||
515 | }; | 515 | }; |
516 | 516 | ||
517 | int omap_hwmod_init(struct omap_hwmod **ohs); | 517 | int omap_hwmod_init(struct omap_hwmod **ohs); |
518 | int omap_hwmod_register(struct omap_hwmod *oh); | ||
519 | int omap_hwmod_unregister(struct omap_hwmod *oh); | ||
520 | struct omap_hwmod *omap_hwmod_lookup(const char *name); | 518 | struct omap_hwmod *omap_hwmod_lookup(const char *name); |
521 | int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), | 519 | int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), |
522 | void *data); | 520 | void *data); |