* [PATCH 1/1] ARM: S3C24XX: Fix warnings in irq-s3c2416.c
@ 2013-01-10 11:17 Sachin Kamat
2013-01-17 0:06 ` Kukjin Kim
0 siblings, 1 reply; 2+ messages in thread
From: Sachin Kamat @ 2013-01-10 11:17 UTC (permalink / raw)
To: linux-samsung-soc; +Cc: kgene.kim, sachin.kamat, patches
Fixes the following warnings:
arch/arm/mach-s3c24xx/irq-s3c2416.c:226:17: warning:
symbol 's3c2416_irq_second' was not declared. Should it be static?
arch/arm/mach-s3c24xx/irq-s3c2416.c:332:5: warning:
symbol 's3c2416_irq_suspend' was not declared. Should it be static?
arch/arm/mach-s3c24xx/irq-s3c2416.c:339:6: warning:
symbol 's3c2416_irq_resume' was not declared. Should it be static?
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
arch/arm/mach-s3c24xx/irq-s3c2416.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-s3c24xx/irq-s3c2416.c b/arch/arm/mach-s3c24xx/irq-s3c2416.c
index ff141b0..f282670 100644
--- a/arch/arm/mach-s3c24xx/irq-s3c2416.c
+++ b/arch/arm/mach-s3c24xx/irq-s3c2416.c
@@ -223,7 +223,7 @@ static void s3c2416_irq_unmask_second(struct irq_data *data)
__raw_writel(mask, S3C2416_INTMSK2);
}
-struct irq_chip s3c2416_irq_second = {
+static struct irq_chip s3c2416_irq_second = {
.irq_ack = s3c2416_irq_ack_second,
.irq_mask = s3c2416_irq_mask_second,
.irq_unmask = s3c2416_irq_unmask_second,
@@ -329,14 +329,14 @@ static struct sleep_save irq_save[] = {
SAVE_ITEM(S3C2416_INTMSK2),
};
-int s3c2416_irq_suspend(void)
+static int s3c2416_irq_suspend(void)
{
s3c_pm_do_save(irq_save, ARRAY_SIZE(irq_save));
return 0;
}
-void s3c2416_irq_resume(void)
+static void s3c2416_irq_resume(void)
{
s3c_pm_do_restore(irq_save, ARRAY_SIZE(irq_save));
}
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH 1/1] ARM: S3C24XX: Fix warnings in irq-s3c2416.c
2013-01-10 11:17 [PATCH 1/1] ARM: S3C24XX: Fix warnings in irq-s3c2416.c Sachin Kamat
@ 2013-01-17 0:06 ` Kukjin Kim
0 siblings, 0 replies; 2+ messages in thread
From: Kukjin Kim @ 2013-01-17 0:06 UTC (permalink / raw)
To: 'Sachin Kamat', linux-samsung-soc; +Cc: patches
Sachin Kamat wrote:
>
> Fixes the following warnings:
> arch/arm/mach-s3c24xx/irq-s3c2416.c:226:17: warning:
> symbol 's3c2416_irq_second' was not declared. Should it be static?
> arch/arm/mach-s3c24xx/irq-s3c2416.c:332:5: warning:
> symbol 's3c2416_irq_suspend' was not declared. Should it be static?
> arch/arm/mach-s3c24xx/irq-s3c2416.c:339:6: warning:
> symbol 's3c2416_irq_resume' was not declared. Should it be static?
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
> arch/arm/mach-s3c24xx/irq-s3c2416.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-s3c24xx/irq-s3c2416.c b/arch/arm/mach-
> s3c24xx/irq-s3c2416.c
> index ff141b0..f282670 100644
> --- a/arch/arm/mach-s3c24xx/irq-s3c2416.c
> +++ b/arch/arm/mach-s3c24xx/irq-s3c2416.c
> @@ -223,7 +223,7 @@ static void s3c2416_irq_unmask_second(struct
> irq_data *data)
> __raw_writel(mask, S3C2416_INTMSK2);
> }
>
> -struct irq_chip s3c2416_irq_second = {
> +static struct irq_chip s3c2416_irq_second = {
> .irq_ack = s3c2416_irq_ack_second,
> .irq_mask = s3c2416_irq_mask_second,
> .irq_unmask = s3c2416_irq_unmask_second,
> @@ -329,14 +329,14 @@ static struct sleep_save irq_save[] = {
> SAVE_ITEM(S3C2416_INTMSK2),
> };
>
> -int s3c2416_irq_suspend(void)
> +static int s3c2416_irq_suspend(void)
> {
> s3c_pm_do_save(irq_save, ARRAY_SIZE(irq_save));
>
> return 0;
> }
>
> -void s3c2416_irq_resume(void)
> +static void s3c2416_irq_resume(void)
> {
> s3c_pm_do_restore(irq_save, ARRAY_SIZE(irq_save));
> }
> --
> 1.7.4.1
Applied, thanks.
- Kukjin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-17 0:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 11:17 [PATCH 1/1] ARM: S3C24XX: Fix warnings in irq-s3c2416.c Sachin Kamat
2013-01-17 0:06 ` Kukjin Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox