提交 5fbebcbd 编写于 作者: P Paul Mundt

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: NPaul Mundt <lethal@linux-sh.org>
上级 2485a4b6
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
LIST_HEAD(intc_list); LIST_HEAD(intc_list);
DEFINE_RAW_SPINLOCK(intc_big_lock); DEFINE_RAW_SPINLOCK(intc_big_lock);
unsigned int nr_intc_controllers; static unsigned int nr_intc_controllers;
/* /*
* Default priority level * Default priority level
......
...@@ -157,7 +157,6 @@ void _intc_enable(struct irq_data *data, unsigned long handle); ...@@ -157,7 +157,6 @@ void _intc_enable(struct irq_data *data, unsigned long handle);
/* core.c */ /* core.c */
extern struct list_head intc_list; extern struct list_head intc_list;
extern raw_spinlock_t intc_big_lock; extern raw_spinlock_t intc_big_lock;
extern unsigned int nr_intc_controllers;
extern struct bus_type intc_subsys; extern struct bus_type intc_subsys;
unsigned int intc_get_dfl_prio_level(void); unsigned int intc_get_dfl_prio_level(void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册