diff options
author | Sachin Kamat <[email protected]> | 2014-06-24 17:13:48 +0530 |
---|---|---|
committer | Olof Johansson <[email protected]> | 2014-07-06 17:49:54 -0700 |
commit | 7e4588e83bf4edd7e8f64bc9b97832d62c5ac555 (patch) | |
tree | c30cd2c3db608dfbbbbb2b4947f914f131a20018 | |
parent | a7ed497e3f88c6598e0f90b129f2beb6ae61d370 (diff) |
ARM: sti: Staticize local variables
Symbols local to this file are made static.
Signed-off-by: Sachin Kamat <[email protected]>
Signed-off-by: Sachin Kamat <[email protected]>
Acked-by: Patrice Chotard <[email protected]>
Cc: [email protected]
Cc: Srinivas Kandagatla <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
-rw-r--r-- | arch/arm/mach-sti/platsmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-sti/platsmp.c b/arch/arm/mach-sti/platsmp.c index fa2c33ffac04..d4b624f8dfcb 100644 --- a/arch/arm/mach-sti/platsmp.c +++ b/arch/arm/mach-sti/platsmp.c @@ -36,7 +36,7 @@ static void write_pen_release(int val) static DEFINE_SPINLOCK(boot_lock); -void sti_secondary_init(unsigned int cpu) +static void sti_secondary_init(unsigned int cpu) { trace_hardirqs_off(); @@ -53,7 +53,7 @@ void sti_secondary_init(unsigned int cpu) spin_unlock(&boot_lock); } -int sti_boot_secondary(unsigned int cpu, struct task_struct *idle) +static int sti_boot_secondary(unsigned int cpu, struct task_struct *idle) { unsigned long timeout; @@ -97,7 +97,7 @@ int sti_boot_secondary(unsigned int cpu, struct task_struct *idle) return pen_release != -1 ? -ENOSYS : 0; } -void __init sti_smp_prepare_cpus(unsigned int max_cpus) +static void __init sti_smp_prepare_cpus(unsigned int max_cpus) { void __iomem *scu_base = NULL; struct device_node *np = of_find_compatible_node( |