]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
metag/kernel/irq.c: Declare root_domain as static
authorMarkos Chandras <markos.chandras@imgtec.com>
Tue, 7 May 2013 15:48:21 +0000 (16:48 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Thu, 13 Jun 2013 11:55:27 +0000 (12:55 +0100)
It is only referenced within the irq.c file, so restrict it's scope
as appropriate.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
arch/metag/kernel/irq.c

index 87707efeb0a39b20e764c0d73e46825b49c4ea1b..d91b1e91346cf51e0fb02846ecf1bc66ca2f2062 100644 (file)
@@ -25,7 +25,7 @@ static union irq_ctx *hardirq_ctx[NR_CPUS] __read_mostly;
 static union irq_ctx *softirq_ctx[NR_CPUS] __read_mostly;
 #endif
 
-struct irq_domain *root_domain;
+static struct irq_domain *root_domain;
 
 static unsigned int startup_meta_irq(struct irq_data *data)
 {