Skip to content

Commit

Permalink
[ARM] mmp2: add mask function in irq-mmp2.c
Browse files Browse the repository at this point in the history
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
  • Loading branch information
Haojian Zhuang authored and Eric Miao committed Mar 1, 2010
1 parent e8e6cb3 commit 4e3b4da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-mmp/irq-mmp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down Expand Up @@ -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, \
}
Expand Down

0 comments on commit 4e3b4da

Please sign in to comment.