From: gregory.clement@free-electrons.com (Gregory CLEMENT)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] ARM: mvebu: make armada_370_xp_pmsu_init() static
Date: Mon, 23 Dec 2013 09:53:35 +0100 [thread overview]
Message-ID: <52B7FA0F.7030709@free-electrons.com> (raw)
In-Reply-To: <1387788491-3168-4-git-send-email-thomas.petazzoni@free-electrons.com>
Hi Thomas,
On 23/12/2013 09:48, Thomas Petazzoni wrote:
> The armada_370_xp_pmsu_init() function is called as an
> early_initcall(). Therefore, there is no need to export this function,
> and we can make it static.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Thanks,
Gregory
> ---
> arch/arm/mach-mvebu/common.h | 1 -
> arch/arm/mach-mvebu/pmsu.c | 2 +-
> 2 files changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-mvebu/common.h b/arch/arm/mach-mvebu/common.h
> index f7ad45e..8de509a 100644
> --- a/arch/arm/mach-mvebu/common.h
> +++ b/arch/arm/mach-mvebu/common.h
> @@ -24,7 +24,6 @@ void armada_370_xp_handle_irq(struct pt_regs *regs);
>
> void armada_xp_cpu_die(unsigned int cpu);
> int armada_370_xp_coherency_init(void);
> -int armada_370_xp_pmsu_init(void);
> void armada_xp_secondary_startup(void);
> extern struct smp_operations armada_xp_smp_ops;
> #endif
> diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c
> index 27fc4f0..f614727 100644
> --- a/arch/arm/mach-mvebu/pmsu.c
> +++ b/arch/arm/mach-mvebu/pmsu.c
> @@ -58,7 +58,7 @@ int armada_xp_boot_cpu(unsigned int cpu_id, void *boot_addr)
> }
> #endif
>
> -int __init armada_370_xp_pmsu_init(void)
> +static int __init armada_370_xp_pmsu_init(void)
> {
> struct device_node *np;
>
>
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2013-12-23 8:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-23 8:48 [PATCH 0/3] ARM: mvebu: minor improvements Thomas Petazzoni
2013-12-23 8:48 ` [PATCH 1/3] ARM: mvebu: move ARMADA_XP_MAX_CPUS to armada-370-xp.h Thomas Petazzoni
2013-12-23 8:52 ` Gregory CLEMENT
2013-12-25 1:51 ` Jason Cooper
2013-12-23 8:48 ` [PATCH 2/3] ARM: mvebu: fix register length for Armada XP PMSU Thomas Petazzoni
2013-12-23 8:52 ` Gregory CLEMENT
2013-12-25 1:58 ` Jason Cooper
2013-12-23 8:48 ` [PATCH 3/3] ARM: mvebu: make armada_370_xp_pmsu_init() static Thomas Petazzoni
2013-12-23 8:53 ` Gregory CLEMENT [this message]
2013-12-25 1:47 ` Jason Cooper
2013-12-23 16:13 ` [PATCH 0/3] ARM: mvebu: minor improvements Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52B7FA0F.7030709@free-electrons.com \
--to=gregory.clement@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.