diff mbox

[Resend,1/8] ARM: sti: Staticize local variables

Message ID 1403610235-22654-1-git-send-email-sachin.kamat@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sachin Kamat June 24, 2014, 11:43 a.m. UTC
From: Sachin Kamat <sachin.kamat@linaro.org>

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>
---
 arch/arm/mach-sti/platsmp.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Sachin Kamat June 30, 2014, 8:23 a.m. UTC | #1
Hi Arnd,

On Tue, Jun 24, 2014 at 5:13 PM, Sachin Kamat <sachin.kamat@samsung.com> wrote:
> From: Sachin Kamat <sachin.kamat@linaro.org>
>
> 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>
> ---
>  arch/arm/mach-sti/platsmp.c |    6 +++---
>  1 file 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(
> --
> 1.7.9.5
>

Gentle Ping.
Please note that patches 2, 3, and 4 have been applied to mvebu/soc tree.
Olof Johansson July 7, 2014, 12:50 a.m. UTC | #2
On Mon, Jun 30, 2014 at 01:53:31PM +0530, Sachin Kamat wrote:
> Gentle Ping.
> Please note that patches 2, 3, and 4 have been applied to mvebu/soc tree.

Applied the others to next/cleanup. Thanks.


-Olof
diff mbox

Patch

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(