| From 8c956d2ac48569c1bc367fedbc6ade1a1929ce9e Mon Sep 17 00:00:00 2001 |
| From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| Date: Mon, 23 Sep 2013 23:04:37 -0700 |
| Subject: ARM: shmobile: r8a7778: r8a7778_register_hspi() become static |
| |
| r8a7778_register_hspi() used only from setup-r8a7778.c |
| it can be static |
| |
| Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit 117378e58365a44b568655e5aa49b3f6daf900c4) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| 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 f5e15c926fef..468ee6551184 100644 |
| --- a/arch/arm/mach-shmobile/setup-r8a7778.c |
| +++ b/arch/arm/mach-shmobile/setup-r8a7778.c |
| @@ -258,7 +258,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.8.5.rc3 |
| |