Commit 6b6a4c06 authored by Magnus Damm's avatar Magnus Damm Committed by Rafael J. Wysocki

ARM: mach-shmobile: rename clk_init() to shmobile_clk_init()

Rename clk_init() to shmobile_clk_init() to avoid a potential
future name space collision with the common clock framework.
Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 8bac13f5
...@@ -376,7 +376,7 @@ void __init r8a7740_clock_init(u8 md_ck) ...@@ -376,7 +376,7 @@ void __init r8a7740_clock_init(u8 md_ck)
clkdev_add_table(lookups, ARRAY_SIZE(lookups)); clkdev_add_table(lookups, ARRAY_SIZE(lookups));
if (!ret) if (!ret)
clk_init(); shmobile_clk_init();
else else
panic("failed to setup r8a7740 clocks\n"); panic("failed to setup r8a7740 clocks\n");
} }
...@@ -170,7 +170,7 @@ void __init r8a7779_clock_init(void) ...@@ -170,7 +170,7 @@ void __init r8a7779_clock_init(void)
clkdev_add_table(lookups, ARRAY_SIZE(lookups)); clkdev_add_table(lookups, ARRAY_SIZE(lookups));
if (!ret) if (!ret)
clk_init(); shmobile_clk_init();
else else
panic("failed to setup r8a7779 clocks\n"); panic("failed to setup r8a7779 clocks\n");
} }
...@@ -349,7 +349,7 @@ void __init sh7367_clock_init(void) ...@@ -349,7 +349,7 @@ void __init sh7367_clock_init(void)
clkdev_add_table(lookups, ARRAY_SIZE(lookups)); clkdev_add_table(lookups, ARRAY_SIZE(lookups));
if (!ret) if (!ret)
clk_init(); shmobile_clk_init();
else else
panic("failed to setup sh7367 clocks\n"); panic("failed to setup sh7367 clocks\n");
} }
...@@ -710,7 +710,7 @@ void __init sh7372_clock_init(void) ...@@ -710,7 +710,7 @@ void __init sh7372_clock_init(void)
clkdev_add_table(lookups, ARRAY_SIZE(lookups)); clkdev_add_table(lookups, ARRAY_SIZE(lookups));
if (!ret) if (!ret)
clk_init(); shmobile_clk_init();
else else
panic("failed to setup sh7372 clocks\n"); panic("failed to setup sh7372 clocks\n");
......
...@@ -360,7 +360,7 @@ void __init sh7377_clock_init(void) ...@@ -360,7 +360,7 @@ void __init sh7377_clock_init(void)
clkdev_add_table(lookups, ARRAY_SIZE(lookups)); clkdev_add_table(lookups, ARRAY_SIZE(lookups));
if (!ret) if (!ret)
clk_init(); shmobile_clk_init();
else else
panic("failed to setup sh7377 clocks\n"); panic("failed to setup sh7377 clocks\n");
} }
...@@ -620,7 +620,7 @@ void __init sh73a0_clock_init(void) ...@@ -620,7 +620,7 @@ void __init sh73a0_clock_init(void)
clkdev_add_table(lookups, ARRAY_SIZE(lookups)); clkdev_add_table(lookups, ARRAY_SIZE(lookups));
if (!ret) if (!ret)
clk_init(); shmobile_clk_init();
else else
panic("failed to setup sh73a0 clocks\n"); panic("failed to setup sh73a0 clocks\n");
} }
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <linux/sh_clk.h> #include <linux/sh_clk.h>
#include <linux/export.h> #include <linux/export.h>
int __init clk_init(void) int __init shmobile_clk_init(void)
{ {
/* Kick the child clocks.. */ /* Kick the child clocks.. */
recalculate_root_clocks(); recalculate_root_clocks();
......
...@@ -6,7 +6,7 @@ extern void shmobile_setup_console(void); ...@@ -6,7 +6,7 @@ extern void shmobile_setup_console(void);
extern void shmobile_secondary_vector(void); extern void shmobile_secondary_vector(void);
extern int shmobile_platform_cpu_kill(unsigned int cpu); extern int shmobile_platform_cpu_kill(unsigned int cpu);
struct clk; struct clk;
extern int clk_init(void); extern int shmobile_clk_init(void);
extern void shmobile_handle_irq_intc(struct pt_regs *); extern void shmobile_handle_irq_intc(struct pt_regs *);
extern struct platform_suspend_ops shmobile_suspend_ops; extern struct platform_suspend_ops shmobile_suspend_ops;
struct cpuidle_driver; struct cpuidle_driver;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment