From 4e3b4da98e20c5dc58e544ac5b321c1942071f7f Mon Sep 17 00:00:00 2001 From: Haojian Zhuang Date: Mon, 25 Jan 2010 06:02:50 -0500 Subject: [ARM] mmp2: add mask function in irq-mmp2.c Signed-off-by: Haojian Zhuang Signed-off-by: Eric Miao --- arch/arm/mach-mmp/irq-mmp2.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/arm/mach-mmp') diff --git a/arch/arm/mach-mmp/irq-mmp2.c b/arch/arm/mach-mmp/irq-mmp2.c index dcd36f4bc9d..ddebde84231 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) static struct irq_chip icu_irq_chip = { .name = "icu_irq", + .mask = icu_mask_irq, .mask_ack = icu_mask_irq, .unmask = icu_unmask_irq, }; @@ -80,6 +81,7 @@ SECOND_IRQ_UNMASK(_name_, irq_base, prefix) \ SECOND_IRQ_DEMUX(_name_, irq_base, prefix) \ static struct irq_chip _name_##_irq_chip = { \ .name = #_name_, \ + .mask = _name_##_mask_irq, \ .mask_ack = _name_##_mask_irq, \ .unmask = _name_##_unmask_irq, \ } -- cgit v1.2.3-70-g09d2