summaryrefslogtreecommitdiff
path: root/include/linux/sh_intc.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-02-15 14:40:25 +0300
committerPaul Mundt <lethal@linux-sh.org>2010-02-16 07:38:56 +0300
commitd85429a31790361b9e952be3817134c23b3b758a (patch)
treeb5a5fa7e81345e92c518bf5ff3a81ae8d032df7d /include/linux/sh_intc.h
parent92e1f9a7ed613b36f3aaf8b04a79e2fd4fa37ec1 (diff)
downloadlinux-d85429a31790361b9e952be3817134c23b3b758a.tar.xz
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>
Diffstat (limited to 'include/linux/sh_intc.h')
-rw-r--r--include/linux/sh_intc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sh_intc.h b/include/linux/sh_intc.h
index 66b4b0c45e71..51d288d8ac88 100644
--- a/include/linux/sh_intc.h
+++ b/include/linux/sh_intc.h
@@ -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;
};