]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: shmobile: Rename to r8a7790_init_early()
authorMagnus Damm <damm@opensource.se>
Wed, 7 Aug 2013 22:27:01 +0000 (07:27 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 19 Sep 2013 21:33:44 +0000 (14:33 -0700)
Rename r8a7790_init_delay() into r8a7790_init_early()
to make the function name show that more than just
delay setup may happen in the future.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-lager-reference.c
arch/arm/mach-shmobile/board-lager.c
arch/arm/mach-shmobile/include/mach/r8a7790.h
arch/arm/mach-shmobile/setup-r8a7790.c

index 9c316a1b2e32a32b2e48e579e3af78da97f3a729..2856f51ff8a602f163dfff07a2d64095d25ea5e7 100644 (file)
@@ -38,7 +38,7 @@ static const char *lager_boards_compat_dt[] __initdata = {
 };
 
 DT_MACHINE_START(LAGER_DT, "lager")
-       .init_early     = r8a7790_init_delay,
+       .init_early     = r8a7790_init_early,
        .init_machine   = lager_add_standard_devices,
        .init_time      = r8a7790_timer_init,
        .dt_compat      = lager_boards_compat_dt,
index ffb6f0ac760643b79075441fe23f048d69d293c1..4047fac811c0ad54e2ec7174a4dc9b64c0cf092c 100644 (file)
@@ -161,7 +161,7 @@ static const char *lager_boards_compat_dt[] __initdata = {
 };
 
 DT_MACHINE_START(LAGER_DT, "lager")
-       .init_early     = r8a7790_init_delay,
+       .init_early     = r8a7790_init_early,
        .init_time      = r8a7790_timer_init,
        .init_machine   = lager_add_standard_devices,
        .dt_compat      = lager_boards_compat_dt,
index 788d55952091b3f04ddd47f8b1847f2638503c92..177a8372abb7a59a2d412c6c440487c984b8b000 100644 (file)
@@ -5,7 +5,7 @@ void r8a7790_add_standard_devices(void);
 void r8a7790_add_dt_devices(void);
 void r8a7790_clock_init(void);
 void r8a7790_pinmux_init(void);
-void r8a7790_init_delay(void);
+void r8a7790_init_early(void);
 void r8a7790_timer_init(void);
 
 #define MD(nr) BIT(nr)
index d0f5c9f9349a186412da1f912fc9dbcac0e851d0..a42d1f6f1f8133466cc71d4eff327db713b9e6d5 100644 (file)
@@ -267,7 +267,7 @@ void __init r8a7790_timer_init(void)
        clocksource_of_init();
 }
 
-void __init r8a7790_init_delay(void)
+void __init r8a7790_init_early(void)
 {
 #ifndef CONFIG_ARM_ARCH_TIMER
        shmobile_setup_delay(1300, 2, 4); /* Cortex-A15 @ 1300MHz */
@@ -282,7 +282,7 @@ static const char *r8a7790_boards_compat_dt[] __initdata = {
 };
 
 DT_MACHINE_START(R8A7790_DT, "Generic R8A7790 (Flattened Device Tree)")
-       .init_early     = r8a7790_init_delay,
+       .init_early     = r8a7790_init_early,
        .init_time      = r8a7790_timer_init,
        .dt_compat      = r8a7790_boards_compat_dt,
 MACHINE_END