sh: extend INTC with force_disable

Extend the shared INTC code with force_disable support to
allow keeping mask bits statically disabled. Needed for
SDHI support to mask out unsupported interrupt sources.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Magnus Damm
2010-02-15 11:40:25 +00:00
committed by Paul Mundt
parent 92e1f9a7ed
commit d85429a317
2 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,7 @@ struct intc_hw_desc {
struct intc_desc {
char *name;
intc_enum force_enable;
intc_enum force_disable;
struct intc_hw_desc hw;
};