Skip to contentSkip to conversation

irqchip: sun4i: Staticize sun4i_irq_ack()

PATCH In review Axel Lin 3 participants 3 messages Jul 5, 2013

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 irqchip: sun4i: Staticize sun4i_irq_ack()

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

---
 drivers/irqchip/irq-sun4i.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/irq-sun4i.c +1 -1
index b66d4ae..a5438d8 100644
@@ -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;
Signature · 1 line
1.8.1.2
#2 lore raw
In reply to Axel Lin
irqchip: sun4i: Staticize sun4i_irq_ack()
Commit-ID:  baaecfa7249f1d5553a31f8ad0b9c7ffabcaa339
Gitweb:     http://git.kernel.org/tip/baaecfa7249f1d5553a31f8ad0b9c7ffabcaa339
Author:     Axel Lin <[email protected]>
AuthorDate: Fri, 5 Jul 2013 15:41:10 +0800
Committer:  Thomas Gleixner <[email protected]>
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.

---
 drivers/irqchip/irq-sun4i.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/irq-sun4i.c +1 -1
index b66d4ae..a5438d8 100644
@@ -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;