linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/3] ARM: shmobile: r8a7778: r8a7778_register_hspi() become static
@ 2013-09-24  6:04 Kuninori Morimoto
  2013-09-25  7:12 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Kuninori Morimoto @ 2013-09-24  6:04 UTC (permalink / raw)
  To: linux-sh

r8a7778_register_hspi() used only from setup-r8a7778.c
it can be static

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 arch/arm/mach-shmobile/setup-r8a7778.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c
index 31e77a8..bfeedd1 100644
--- a/arch/arm/mach-shmobile/setup-r8a7778.c
+++ b/arch/arm/mach-shmobile/setup-r8a7778.c
@@ -275,7 +275,7 @@ static struct resource hspi_resources[] __initdata = {
 	DEFINE_RES_IRQ(gic_iid(0x75)),
 };
 
-void __init r8a7778_register_hspi(int id)
+static void __init r8a7778_register_hspi(int id)
 {
 	BUG_ON(id < 0 || id > 2);
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 3/3] ARM: shmobile: r8a7778: r8a7778_register_hspi() become static
  2013-09-24  6:04 [PATCH 3/3] ARM: shmobile: r8a7778: r8a7778_register_hspi() become static Kuninori Morimoto
@ 2013-09-25  7:12 ` Simon Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2013-09-25  7:12 UTC (permalink / raw)
  To: linux-sh

On Mon, Sep 23, 2013 at 11:04:37PM -0700, Kuninori Morimoto wrote:
> r8a7778_register_hspi() used only from setup-r8a7778.c
> it can be static
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
>  arch/arm/mach-shmobile/setup-r8a7778.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c
> index 31e77a8..bfeedd1 100644
> --- a/arch/arm/mach-shmobile/setup-r8a7778.c
> +++ b/arch/arm/mach-shmobile/setup-r8a7778.c
> @@ -275,7 +275,7 @@ static struct resource hspi_resources[] __initdata = {
>  	DEFINE_RES_IRQ(gic_iid(0x75)),
>  };
>  
> -void __init r8a7778_register_hspi(int id)
> +static void __init r8a7778_register_hspi(int id)
>  {
>  	BUG_ON(id < 0 || id > 2);

Thanks, queued up for v3.13.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-25  7:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-24  6:04 [PATCH 3/3] ARM: shmobile: r8a7778: r8a7778_register_hspi() become static Kuninori Morimoto
2013-09-25  7:12 ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).