sh: intc: Make global intc controller counter static.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 24 Jan 2012 05:07:18 +0000 (14:07 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 24 Jan 2012 05:07:18 +0000 (14:07 +0900)
No need to expose this globally since it's only used for core accounting.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/intc/core.c
drivers/sh/intc/internals.h

index e53e449b4ecab0b83ab6fe110cb0df4ff8dff963..c64690dda4a0b11cf51cfdc550b15f45c3576f2d 100644 (file)
@@ -35,7 +35,7 @@
 
 LIST_HEAD(intc_list);
 DEFINE_RAW_SPINLOCK(intc_big_lock);
-unsigned int nr_intc_controllers;
+static unsigned int nr_intc_controllers;
 
 /*
  * Default priority level
index b0e9155ff73965bc0da482fb6f86983828ae98c8..422b72df089e69b0be81d2f3b6104ae930d2b726 100644 (file)
@@ -157,7 +157,6 @@ void _intc_enable(struct irq_data *data, unsigned long handle);
 /* core.c */
 extern struct list_head intc_list;
 extern raw_spinlock_t intc_big_lock;
-extern unsigned int nr_intc_controllers;
 extern struct bus_type intc_subsys;
 
 unsigned int intc_get_dfl_prio_level(void);