OMAP2+: hwmod: Mark functions used only during initialization with __init
authorBenoit Cousson <b-cousson@ti.com>
Wed, 22 Dec 2010 04:31:28 +0000 (21:31 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 22 Dec 2010 04:31:28 +0000 (21:31 -0700)
commit01592df95049a6f3d4abb0571ae1c7cb6e9d1cd7
tree55b59e46d56bda655e7bc92bf2ef34cde73d3091
parent0102b62789af5aed92cea4cf7f36afaa1ab12c72
OMAP2+: hwmod: Mark functions used only during initialization with __init

_register, _find_mpu_port_index and _find_mpu_rt_base are static APIs
that will be used only during the omap_hwmod initialization phase.
There is no need to keep them for 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