diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-01-24 00:07:18 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-01-24 00:07:18 -0500 |
commit | 5fbebcbdb3730666c0d1d22021a90d8483fc8e02 (patch) | |
tree | 9cc6b161c20dcc3790a9a0dc67d9139531fc034b | |
parent | 2485a4b610171f4e1c4ab0d053569747795c1bbe (diff) |
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>
-rw-r--r-- | drivers/sh/intc/core.c | 2 | ||||
-rw-r--r-- | drivers/sh/intc/internals.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/sh/intc/core.c b/drivers/sh/intc/core.c index e53e449b4eca..c64690dda4a0 100644 --- a/drivers/sh/intc/core.c +++ b/drivers/sh/intc/core.c | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | LIST_HEAD(intc_list); | 36 | LIST_HEAD(intc_list); |
37 | DEFINE_RAW_SPINLOCK(intc_big_lock); | 37 | DEFINE_RAW_SPINLOCK(intc_big_lock); |
38 | unsigned int nr_intc_controllers; | 38 | static unsigned int nr_intc_controllers; |
39 | 39 | ||
40 | /* | 40 | /* |
41 | * Default priority level | 41 | * Default priority level |
diff --git a/drivers/sh/intc/internals.h b/drivers/sh/intc/internals.h index b0e9155ff739..422b72df089e 100644 --- a/drivers/sh/intc/internals.h +++ b/drivers/sh/intc/internals.h | |||
@@ -157,7 +157,6 @@ void _intc_enable(struct irq_data *data, unsigned long handle); | |||
157 | /* core.c */ | 157 | /* core.c */ |
158 | extern struct list_head intc_list; | 158 | extern struct list_head intc_list; |
159 | extern raw_spinlock_t intc_big_lock; | 159 | extern raw_spinlock_t intc_big_lock; |
160 | extern unsigned int nr_intc_controllers; | ||
161 | extern struct bus_type intc_subsys; | 160 | extern struct bus_type intc_subsys; |
162 | 161 | ||
163 | unsigned int intc_get_dfl_prio_level(void); | 162 | unsigned int intc_get_dfl_prio_level(void); |