Преглед изворни кода

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 пре 12 година
родитељ
комит
32580ae701
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
 #endif
 
-struct irq_domain *root_domain;
+static struct irq_domain *root_domain;
 
 static unsigned int startup_meta_irq(struct irq_data *data)
 {