ARM: shmobile: Make EMEV2 setup functions static
Magnus Damm
maintainerPATCH 1/1 ARM: shmobile: Make EMEV2 setup functions static
From: Magnus Damm <[email protected]>
Adjust emev2_init_delay() and emev2_add_standard_devices_dt() to become static. They are not used outside this file anyway.
Signed-off-by Magnus Damm <[email protected]>
---
arch/arm/mach-shmobile/setup-emev2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-shmobile/setup-emev2.c +2 -2
@@ -404,7 +404,7 @@ void __init emev2_add_standard_devices(v ARRAY_SIZE(emev2_late_devices)); } -void __init emev2_init_delay (void ) +static void __init emev2_init_delay (void ) {shmobile_setup_delay (533 ,1 ,3 );/* Cortex-A9 @ 533MHz */ }
@@ -439,7 +439,7 @@ static const struct of_dev_auxdata emev2 { } }; -void __init emev2_add_standard_devices_dt (void ) +static void __init emev2_add_standard_devices_dt (void ) {of_platform_populate (NULL , of_default_bus_match_table, emev2_auxdata_lookup,NULL );
Quoted 4 lines · Magnus Damm
From: Magnus Damm <[email protected]>
Adjust
emev2_init_delay()andemev2_add_standard_devices_dt()to become static. They are not used outside this file anyway.
I have applied the entire series to the soc5 branch thus queued up for v3.10. It is also in the next branch and thus should appear in linux-next in the not to distant future.