diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2014-06-24 07:43:48 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-07-06 20:49:54 -0400 |
commit | 7e4588e83bf4edd7e8f64bc9b97832d62c5ac555 (patch) | |
tree | c30cd2c3db608dfbbbbb2b4947f914f131a20018 /arch/arm/mach-sti | |
parent | a7ed497e3f88c6598e0f90b129f2beb6ae61d370 (diff) |
ARM: sti: Staticize local variables
Symbols local to this file are made static.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Cc: kernel@stlinux.com
Cc: Srinivas Kandagatla <srinivas.kandagatla@gmail.com>
Cc: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-sti')
-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) | |||
36 | 36 | ||
37 | static DEFINE_SPINLOCK(boot_lock); | 37 | static DEFINE_SPINLOCK(boot_lock); |
38 | 38 | ||
39 | void sti_secondary_init(unsigned int cpu) | 39 | static void sti_secondary_init(unsigned int cpu) |
40 | { | 40 | { |
41 | trace_hardirqs_off(); | 41 | trace_hardirqs_off(); |
42 | 42 | ||
@@ -53,7 +53,7 @@ void sti_secondary_init(unsigned int cpu) | |||
53 | spin_unlock(&boot_lock); | 53 | spin_unlock(&boot_lock); |
54 | } | 54 | } |
55 | 55 | ||
56 | int sti_boot_secondary(unsigned int cpu, struct task_struct *idle) | 56 | static int sti_boot_secondary(unsigned int cpu, struct task_struct *idle) |
57 | { | 57 | { |
58 | unsigned long timeout; | 58 | unsigned long timeout; |
59 | 59 | ||
@@ -97,7 +97,7 @@ int sti_boot_secondary(unsigned int cpu, struct task_struct *idle) | |||
97 | return pen_release != -1 ? -ENOSYS : 0; | 97 | return pen_release != -1 ? -ENOSYS : 0; |
98 | } | 98 | } |
99 | 99 | ||
100 | void __init sti_smp_prepare_cpus(unsigned int max_cpus) | 100 | static void __init sti_smp_prepare_cpus(unsigned int max_cpus) |
101 | { | 101 | { |
102 | void __iomem *scu_base = NULL; | 102 | void __iomem *scu_base = NULL; |
103 | struct device_node *np = of_find_compatible_node( | 103 | struct device_node *np = of_find_compatible_node( |