diff options
author | Benoit Cousson | 2010-12-22 05:31:27 +0100 |
---|---|---|
committer | Paul Walmsley | 2010-12-22 05:31:27 +0100 |
commit | 0102b62789af5aed92cea4cf7f36afaa1ab12c72 (patch) | |
tree | 83b7d7f6d0731dc28f68a1c3e3806e12158d4669 /arch/arm/plat-omap | |
parent | OMAP2430: hwmod data: Use common dev_attr for i2c1 and i2c2 (diff) | |
download | kernel-qcow2-linux-0102b62789af5aed92cea4cf7f36afaa1ab12c72.tar.gz kernel-qcow2-linux-0102b62789af5aed92cea4cf7f36afaa1ab12c72.tar.xz kernel-qcow2-linux-0102b62789af5aed92cea4cf7f36afaa1ab12c72.zip |
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 62bdb23c95c9..ab99b8cca6ad 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 { }; int omap_hwmod_init(struct omap_hwmod **ohs); -int omap_hwmod_register(struct omap_hwmod *oh); -int omap_hwmod_unregister(struct omap_hwmod *oh); struct omap_hwmod *omap_hwmod_lookup(const char *name); int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), void *data); |