diff mbox

ARM: EXYNOS: Make combiner_init function static

Message ID 1341574743-3897-1-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat July 6, 2012, 11:39 a.m. UTC
Fixes the following warning:
arch/arm/mach-exynos/common.c:543:13:
warning: symbol 'combiner_init' was not declared. Should it be static?

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 arch/arm/mach-exynos/common.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Comments

Kukjin Kim July 12, 2012, 9:10 a.m. UTC | #1
Sachin Kamat wrote:
> 
> Fixes the following warning:
> arch/arm/mach-exynos/common.c:543:13:
> warning: symbol 'combiner_init' was not declared. Should it be static?
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  arch/arm/mach-exynos/common.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
> index 0ec1a91..66d71ba 100644
> --- a/arch/arm/mach-exynos/common.c
> +++ b/arch/arm/mach-exynos/common.c
> @@ -540,7 +540,8 @@ static struct irq_domain_ops combiner_irq_domain_ops =
> {
>  	.map	= combiner_irq_domain_map,
>  };
> 
> -void __init combiner_init(void __iomem *combiner_base, struct device_node
> *np)
> +static void __init combiner_init(void __iomem *combiner_base,
> +				struct device_node *np)
>  {
>  	int i, irq, irq_base;
>  	unsigned int max_nr, nr_irq;
> --
> 1.7.4.1

OK, applied.
Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
diff mbox

Patch

diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
index 0ec1a91..66d71ba 100644
--- a/arch/arm/mach-exynos/common.c
+++ b/arch/arm/mach-exynos/common.c
@@ -540,7 +540,8 @@  static struct irq_domain_ops combiner_irq_domain_ops = {
 	.map	= combiner_irq_domain_map,
 };
 
-void __init combiner_init(void __iomem *combiner_base, struct device_node *np)
+static void __init combiner_init(void __iomem *combiner_base,
+				struct device_node *np)
 {
 	int i, irq, irq_base;
 	unsigned int max_nr, nr_irq;