提交 0750a545 编写于 作者: M Magnus Damm 提交者: Simon Horman

ARM: shmobile: Rename to r8a73a4_init_early()

Rename r8a73a4_init_delay() into r8a73a4_init_early()
to make the function name show that more than just
delay setup may happen in the future.
Signed-off-by: NMagnus Damm <damm@opensource.se>
Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
上级 272b98c6
...@@ -57,7 +57,7 @@ static const char *ape6evm_boards_compat_dt[] __initdata = { ...@@ -57,7 +57,7 @@ static const char *ape6evm_boards_compat_dt[] __initdata = {
}; };
DT_MACHINE_START(APE6EVM_DT, "ape6evm") DT_MACHINE_START(APE6EVM_DT, "ape6evm")
.init_early = r8a73a4_init_delay, .init_early = r8a73a4_init_early,
.init_machine = ape6evm_add_standard_devices, .init_machine = ape6evm_add_standard_devices,
.dt_compat = ape6evm_boards_compat_dt, .dt_compat = ape6evm_boards_compat_dt,
MACHINE_END MACHINE_END
...@@ -240,7 +240,7 @@ static const char *ape6evm_boards_compat_dt[] __initdata = { ...@@ -240,7 +240,7 @@ static const char *ape6evm_boards_compat_dt[] __initdata = {
}; };
DT_MACHINE_START(APE6EVM_DT, "ape6evm") DT_MACHINE_START(APE6EVM_DT, "ape6evm")
.init_early = r8a73a4_init_delay, .init_early = r8a73a4_init_early,
.init_machine = ape6evm_add_standard_devices, .init_machine = ape6evm_add_standard_devices,
.dt_compat = ape6evm_boards_compat_dt, .dt_compat = ape6evm_boards_compat_dt,
MACHINE_END MACHINE_END
...@@ -5,6 +5,6 @@ void r8a73a4_add_standard_devices(void); ...@@ -5,6 +5,6 @@ void r8a73a4_add_standard_devices(void);
void r8a73a4_add_dt_devices(void); void r8a73a4_add_dt_devices(void);
void r8a73a4_clock_init(void); void r8a73a4_clock_init(void);
void r8a73a4_pinmux_init(void); void r8a73a4_pinmux_init(void);
void r8a73a4_init_delay(void); void r8a73a4_init_early(void);
#endif /* __ASM_R8A73A4_H__ */ #endif /* __ASM_R8A73A4_H__ */
...@@ -207,7 +207,7 @@ void __init r8a73a4_add_standard_devices(void) ...@@ -207,7 +207,7 @@ void __init r8a73a4_add_standard_devices(void)
r8a73a4_register_thermal(); r8a73a4_register_thermal();
} }
void __init r8a73a4_init_delay(void) void __init r8a73a4_init_early(void)
{ {
#ifndef CONFIG_ARM_ARCH_TIMER #ifndef CONFIG_ARM_ARCH_TIMER
shmobile_setup_delay(1500, 2, 4); /* Cortex-A15 @ 1500MHz */ shmobile_setup_delay(1500, 2, 4); /* Cortex-A15 @ 1500MHz */
...@@ -222,7 +222,7 @@ static const char *r8a73a4_boards_compat_dt[] __initdata = { ...@@ -222,7 +222,7 @@ static const char *r8a73a4_boards_compat_dt[] __initdata = {
}; };
DT_MACHINE_START(R8A73A4_DT, "Generic R8A73A4 (Flattened Device Tree)") DT_MACHINE_START(R8A73A4_DT, "Generic R8A73A4 (Flattened Device Tree)")
.init_early = r8a73a4_init_delay, .init_early = r8a73a4_init_early,
.dt_compat = r8a73a4_boards_compat_dt, .dt_compat = r8a73a4_boards_compat_dt,
MACHINE_END MACHINE_END
#endif /* CONFIG_USE_OF */ #endif /* CONFIG_USE_OF */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册