sh: intc: Make global intc controller counter static.

No need to expose this globally since it's only used for core accounting.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt 2012-01-24 14:07:18 +09:00
parent 2485a4b610
commit 5fbebcbdb3
2 changed files with 1 additions and 2 deletions

View 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

View 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);