OSDN Git Service

ARM: mach-shmobile: rename clk_init() to shmobile_clk_init()
authorMagnus Damm <damm@opensource.se>
Wed, 29 Feb 2012 12:41:30 +0000 (21:41 +0900)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 12 Mar 2012 21:19:43 +0000 (22:19 +0100)
Rename clk_init() to shmobile_clk_init() to avoid a potential
future name space collision with the common clock framework.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/arm/mach-shmobile/clock-r8a7740.c
arch/arm/mach-shmobile/clock-r8a7779.c
arch/arm/mach-shmobile/clock-sh7367.c
arch/arm/mach-shmobile/clock-sh7372.c
arch/arm/mach-shmobile/clock-sh7377.c
arch/arm/mach-shmobile/clock-sh73a0.c
arch/arm/mach-shmobile/clock.c
arch/arm/mach-shmobile/include/mach/common.h

index 6a40684..99c4d74 100644 (file)
@@ -376,7 +376,7 @@ void __init r8a7740_clock_init(u8 md_ck)
        clkdev_add_table(lookups, ARRAY_SIZE(lookups));
 
        if (!ret)
-               clk_init();
+               shmobile_clk_init();
        else
                panic("failed to setup r8a7740 clocks\n");
 }
index 317ab52..7d6e9fe 100644 (file)
@@ -170,7 +170,7 @@ void __init r8a7779_clock_init(void)
        clkdev_add_table(lookups, ARRAY_SIZE(lookups));
 
        if (!ret)
-               clk_init();
+               shmobile_clk_init();
        else
                panic("failed to setup r8a7779 clocks\n");
 }
index b6d6ba8..006e7b5 100644 (file)
@@ -349,7 +349,7 @@ void __init sh7367_clock_init(void)
        clkdev_add_table(lookups, ARRAY_SIZE(lookups));
 
        if (!ret)
-               clk_init();
+               shmobile_clk_init();
        else
                panic("failed to setup sh7367 clocks\n");
 }
index 3acdb71..de243e3 100644 (file)
@@ -710,7 +710,7 @@ void __init sh7372_clock_init(void)
        clkdev_add_table(lookups, ARRAY_SIZE(lookups));
 
        if (!ret)
-               clk_init();
+               shmobile_clk_init();
        else
                panic("failed to setup sh7372 clocks\n");
 
index 081ecee..0798a15 100644 (file)
@@ -360,7 +360,7 @@ void __init sh7377_clock_init(void)
        clkdev_add_table(lookups, ARRAY_SIZE(lookups));
 
        if (!ret)
-               clk_init();
+               shmobile_clk_init();
        else
                panic("failed to setup sh7377 clocks\n");
 }
index e5b24bf..472d1f5 100644 (file)
@@ -620,7 +620,7 @@ void __init sh73a0_clock_init(void)
        clkdev_add_table(lookups, ARRAY_SIZE(lookups));
 
        if (!ret)
-               clk_init();
+               shmobile_clk_init();
        else
                panic("failed to setup sh73a0 clocks\n");
 }
index 31654d7..e816ca9 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/sh_clk.h>
 #include <linux/export.h>
 
-int __init clk_init(void)
+int __init shmobile_clk_init(void)
 {
        /* Kick the child clocks.. */
        recalculate_root_clocks();
index c1b77d5..f005ac0 100644 (file)
@@ -6,7 +6,7 @@ extern void shmobile_setup_console(void);
 extern void shmobile_secondary_vector(void);
 extern int shmobile_platform_cpu_kill(unsigned int cpu);
 struct clk;
-extern int clk_init(void);
+extern int shmobile_clk_init(void);
 extern void shmobile_handle_irq_intc(struct pt_regs *);
 extern struct platform_suspend_ops shmobile_suspend_ops;
 struct cpuidle_driver;