summaryrefslogtreecommitdiff
path: root/arch/metag/kernel
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2013-05-07 16:48:21 +0100
committerJames Hogan <james.hogan@imgtec.com>2013-06-13 12:55:27 +0100
commit32580ae701256290640e7c845441141aac4d1cdb (patch)
tree8fa80185149f73fe8497168c43e1f19f289df368 /arch/metag/kernel
parentcf07053214efccc80eed429dcd8f95583af75e7b (diff)
metag/kernel/irq.c: Declare root_domain as static
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>
Diffstat (limited to 'arch/metag/kernel')
-rw-r--r--arch/metag/kernel/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/metag/kernel/irq.c b/arch/metag/kernel/irq.c
index 87707efeb0a3..d91b1e91346c 100644
--- a/arch/metag/kernel/irq.c
+++ b/arch/metag/kernel/irq.c
@@ -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)
{