]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: OMAP2+: PRCM: rename of_prcm_init to omap_prcm_init
authorTero Kristo <t-kristo@ti.com>
Tue, 18 Nov 2014 12:59:36 +0000 (14:59 +0200)
committerTero Kristo <t-kristo@ti.com>
Wed, 25 Mar 2015 09:03:35 +0000 (11:03 +0200)
This avoids conflicts in the global namespace, and is more descriptive
of the purpose anyway.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/prm.h
arch/arm/mach-omap2/prm_common.c

index c4871c55bd8b641544a86a281121cad4c9219e42..f504f7157cbee6c2f144a681b788cdd4c6287be1 100644 (file)
@@ -764,7 +764,7 @@ int __init omap_clk_init(void)
        ti_clk_init_features();
 
        if (of_have_populated_dt()) {
-               ret = of_prcm_init();
+               ret = omap_prcm_init();
                if (ret)
                        return ret;
 
index b9061a6a2db8998314cf83dc0aa98dab2899ce43..ba9b9336de7cdb039d4f13d955ab0da5d0bebb34 100644 (file)
@@ -19,7 +19,7 @@
 extern void __iomem *prm_base;
 extern u16 prm_features;
 extern void omap2_set_globals_prm(void __iomem *prm);
-int of_prcm_init(void);
+int omap_prcm_init(void);
 void omap3_prcm_legacy_iomaps_init(void);
 # endif
 
index bfaa7ba595cc832ec7783e759db4425c5e1e58c0..c5cfaa98be9e5303cf839c4ba206521555e7c0ce 100644 (file)
@@ -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;