diff options
author | Haojian Zhuang <haojian.zhuang@gmail.com> | 2010-01-25 06:02:50 -0500 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-03-01 18:40:56 -0500 |
commit | 4e3b4da98e20c5dc58e544ac5b321c1942071f7f (patch) | |
tree | 1863c5bbf7de5b4c6e2d84312d96a954d5a115fb /arch/arm/mach-mmp | |
parent | e8e6cb325671daa17c776ad53b70fd6213260368 (diff) |
[ARM] mmp2: add mask function in irq-mmp2.c
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-mmp')
-rw-r--r-- | arch/arm/mach-mmp/irq-mmp2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/irq-mmp2.c b/arch/arm/mach-mmp/irq-mmp2.c index dcd36f4bc9de..ddebde84231a 100644 --- a/arch/arm/mach-mmp/irq-mmp2.c +++ b/arch/arm/mach-mmp/irq-mmp2.c | |||
@@ -37,6 +37,7 @@ static void icu_unmask_irq(unsigned int irq) | |||
37 | 37 | ||
38 | static struct irq_chip icu_irq_chip = { | 38 | static struct irq_chip icu_irq_chip = { |
39 | .name = "icu_irq", | 39 | .name = "icu_irq", |
40 | .mask = icu_mask_irq, | ||
40 | .mask_ack = icu_mask_irq, | 41 | .mask_ack = icu_mask_irq, |
41 | .unmask = icu_unmask_irq, | 42 | .unmask = icu_unmask_irq, |
42 | }; | 43 | }; |
@@ -80,6 +81,7 @@ SECOND_IRQ_UNMASK(_name_, irq_base, prefix) \ | |||
80 | SECOND_IRQ_DEMUX(_name_, irq_base, prefix) \ | 81 | SECOND_IRQ_DEMUX(_name_, irq_base, prefix) \ |
81 | static struct irq_chip _name_##_irq_chip = { \ | 82 | static struct irq_chip _name_##_irq_chip = { \ |
82 | .name = #_name_, \ | 83 | .name = #_name_, \ |
84 | .mask = _name_##_mask_irq, \ | ||
83 | .mask_ack = _name_##_mask_irq, \ | 85 | .mask_ack = _name_##_mask_irq, \ |
84 | .unmask = _name_##_unmask_irq, \ | 86 | .unmask = _name_##_unmask_irq, \ |
85 | } | 87 | } |