linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] irqchip: sun4i: Staticize sun4i_irq_ack()
@ 2013-07-05  7:41 Axel Lin
  2013-07-05  8:16 ` Maxime Ripard
  2013-07-05  9:48 ` [tip:irq/urgent] " tip-bot for Axel Lin
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2013-07-05  7:41 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: Maxime Ripard, linux-kernel

sun4i_irq_ack() is only referenced in this file, so make it static.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/irqchip/irq-sun4i.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-sun4i.c b/drivers/irqchip/irq-sun4i.c
index b66d4ae..a5438d8 100644
--- a/drivers/irqchip/irq-sun4i.c
+++ b/drivers/irqchip/irq-sun4i.c
@@ -38,7 +38,7 @@ static struct irq_domain *sun4i_irq_domain;
 
 static asmlinkage void __exception_irq_entry sun4i_handle_irq(struct pt_regs *regs);
 
-void sun4i_irq_ack(struct irq_data *irqd)
+static void sun4i_irq_ack(struct irq_data *irqd)
 {
 	unsigned int irq = irqd_to_hwirq(irqd);
 	unsigned int irq_off = irq % 32;
-- 
1.8.1.2




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

* Re: [PATCH] irqchip: sun4i: Staticize sun4i_irq_ack()
  2013-07-05  7:41 [PATCH] irqchip: sun4i: Staticize sun4i_irq_ack() Axel Lin
@ 2013-07-05  8:16 ` Maxime Ripard
  2013-07-05  9:48 ` [tip:irq/urgent] " tip-bot for Axel Lin
  1 sibling, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2013-07-05  8:16 UTC (permalink / raw)
  To: Axel Lin; +Cc: Thomas Gleixner, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 389 bytes --]

Hi Axel,

On Fri, Jul 05, 2013 at 03:41:10PM +0800, Axel Lin wrote:
> sun4i_irq_ack() is only referenced in this file, so make it static.
> 
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* [tip:irq/urgent] irqchip: sun4i: Staticize sun4i_irq_ack()
  2013-07-05  7:41 [PATCH] irqchip: sun4i: Staticize sun4i_irq_ack() Axel Lin
  2013-07-05  8:16 ` Maxime Ripard
@ 2013-07-05  9:48 ` tip-bot for Axel Lin
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Axel Lin @ 2013-07-05  9:48 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, tglx, maxime.ripard, axel.lin

Commit-ID:  baaecfa7249f1d5553a31f8ad0b9c7ffabcaa339
Gitweb:     http://git.kernel.org/tip/baaecfa7249f1d5553a31f8ad0b9c7ffabcaa339
Author:     Axel Lin <axel.lin@ingics.com>
AuthorDate: Fri, 5 Jul 2013 15:41:10 +0800
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Fri, 5 Jul 2013 11:39:24 +0200

irqchip: sun4i: Staticize sun4i_irq_ack()

sun4i_irq_ack() is only referenced in this file, so make it static.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: http://lkml.kernel.org/r/1373010070.14756.2.camel@phoenix
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 drivers/irqchip/irq-sun4i.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-sun4i.c b/drivers/irqchip/irq-sun4i.c
index b66d4ae..a5438d8 100644
--- a/drivers/irqchip/irq-sun4i.c
+++ b/drivers/irqchip/irq-sun4i.c
@@ -38,7 +38,7 @@ static struct irq_domain *sun4i_irq_domain;
 
 static asmlinkage void __exception_irq_entry sun4i_handle_irq(struct pt_regs *regs);
 
-void sun4i_irq_ack(struct irq_data *irqd)
+static void sun4i_irq_ack(struct irq_data *irqd)
 {
 	unsigned int irq = irqd_to_hwirq(irqd);
 	unsigned int irq_off = irq % 32;

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

end of thread, other threads:[~2013-07-05  9:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-05  7:41 [PATCH] irqchip: sun4i: Staticize sun4i_irq_ack() Axel Lin
2013-07-05  8:16 ` Maxime Ripard
2013-07-05  9:48 ` [tip:irq/urgent] " tip-bot for Axel Lin

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).