From 32580ae701256290640e7c845441141aac4d1cdb Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Tue, 7 May 2013 16:48:21 +0100 Subject: 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 Signed-off-by: James Hogan --- arch/metag/kernel/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/metag') 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) { -- cgit v1.2.1