Explorar o código

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>
Markos Chandras %!s(int64=12) %!d(string=hai) anos
pai
achega
32580ae701
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch/metag/kernel/irq.c

+ 1 - 1
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;
 static union irq_ctx *softirq_ctx[NR_CPUS] __read_mostly;
 #endif
 #endif
 
 
-struct irq_domain *root_domain;
+static struct irq_domain *root_domain;
 
 
 static unsigned int startup_meta_irq(struct irq_data *data)
 static unsigned int startup_meta_irq(struct irq_data *data)
 {
 {