aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/sh/intc.c3
-rw-r--r--include/linux/sh_intc.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/sh/intc.c b/drivers/sh/intc.c
index 66594eb4477d..1da1edef2221 100644
--- a/drivers/sh/intc.c
+++ b/drivers/sh/intc.c
@@ -851,6 +851,9 @@ void __init register_intc_controller(struct intc_desc *desc)
851 d->chip.mask_ack = intc_mask_ack; 851 d->chip.mask_ack = intc_mask_ack;
852 } 852 }
853 853
854 /* disable bits matching force_disable before registering irqs */
855 if (desc->force_disable)
856 intc_enable_disable_enum(desc, d, desc->force_disable, 0);
854 857
855 /* disable bits matching force_enable before registering irqs */ 858 /* disable bits matching force_enable before registering irqs */
856 if (desc->force_enable) 859 if (desc->force_enable)
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 {
72struct intc_desc { 72struct intc_desc {
73 char *name; 73 char *name;
74 intc_enum force_enable; 74 intc_enum force_enable;
75 intc_enum force_disable;
75 struct intc_hw_desc hw; 76 struct intc_hw_desc hw;
76}; 77};
77 78