aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/prm_common.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2014-11-18 14:59:36 +0200
committerTero Kristo <t-kristo@ti.com>2015-03-25 11:03:35 +0200
commit3a1a388e910950553817b71046b00511d6242b06 (patch)
treed2ba4efcdf268ffa6e3afcb875b529e883c09f4f /arch/arm/mach-omap2/prm_common.c
parentclk: ti: fix ti_clk_get_reg_addr error handling (diff)
downloadlinux-dev-3a1a388e910950553817b71046b00511d6242b06.tar.xz
linux-dev-3a1a388e910950553817b71046b00511d6242b06.zip
ARM: OMAP2+: PRCM: rename of_prcm_init to omap_prcm_init
This avoids conflicts in the global namespace, and is more descriptive of the purpose anyway. Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/prm_common.c')
-rw-r--r--arch/arm/mach-omap2/prm_common.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c
index bfaa7ba595cc..c5cfaa98be9e 100644
--- a/arch/arm/mach-omap2/prm_common.c
+++ b/arch/arm/mach-omap2/prm_common.c
@@ -625,7 +625,13 @@ static struct ti_clk_ll_ops omap_clk_ll_ops = {
.clk_writel = prm_clk_writel,
};
-int __init of_prcm_init(void)
+/**
+ * omap_prcm_init - low level init for the PRCM drivers
+ *
+ * Initializes the low level clock infrastructure for PRCM drivers.
+ * Returns 0 in success, negative error value in failure.
+ */
+int __init omap_prcm_init(void)
{
struct device_node *np;
void __iomem *mem;