[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-e658718e478fb2591f38afd9643eab06698790fe@git.kernel.org>
Date: Fri, 5 Jul 2013 02:48:28 -0700
From: tip-bot for Axel Lin <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, linux@...sktech.co.nz, hpa@...or.com,
mingo@...nel.org, olof@...om.net, tglx@...utronix.de,
axel.lin@...ics.com
Subject: [tip:irq/urgent] irqchip: vt8500: Staticize local symbols
Commit-ID: e658718e478fb2591f38afd9643eab06698790fe
Gitweb: http://git.kernel.org/tip/e658718e478fb2591f38afd9643eab06698790fe
Author: Axel Lin <axel.lin@...ics.com>
AuthorDate: Fri, 5 Jul 2013 11:33:49 +0800
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Fri, 5 Jul 2013 11:39:24 +0200
irqchip: vt8500: Staticize local symbols
This driver is converted to use IRQCHIP_DECLARE and irqchip_init.
vt8500_handle_irq() and vt8500_irq_init() are only referenced in this file, so
make them static.
Signed-off-by: Axel Lin <axel.lin@...ics.com>
Acked-by: Tony Prisk <linux@...sktech.co.nz>
Cc: Olof Johansson <olof@...om.net>
Link: http://lkml.kernel.org/r/1372995229.4038.1.camel@phoenix
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
drivers/irqchip/irq-vt8500.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/irqchip/irq-vt8500.c b/drivers/irqchip/irq-vt8500.c
index d970595..1846e7d 100644
--- a/drivers/irqchip/irq-vt8500.c
+++ b/drivers/irqchip/irq-vt8500.c
@@ -178,7 +178,8 @@ static struct irq_domain_ops vt8500_irq_domain_ops = {
.xlate = irq_domain_xlate_onecell,
};
-asmlinkage void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs)
+static asmlinkage
+void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs)
{
u32 stat, i;
int irqnr, virq;
@@ -203,7 +204,8 @@ asmlinkage void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs)
}
}
-int __init vt8500_irq_init(struct device_node *node, struct device_node *parent)
+static int __init vt8500_irq_init(struct device_node *node,
+ struct device_node *parent)
{
int irq, i;
struct device_node *np = node;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists