Skip to content

Commit

Permalink
sh: intc: Make global intc controller counter static.
Browse files Browse the repository at this point in the history
No need to expose this globally since it's only used for core accounting.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jan 24, 2012
1 parent 2485a4b commit 5fbebcb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/sh/intc/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion drivers/sh/intc/internals.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5fbebcb

Please sign in to comment.