linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mmp2: add mask function in irq
@ 2010-01-25 10:07 Haojian Zhuang
  0 siblings, 0 replies; only message in thread
From: Haojian Zhuang @ 2010-01-25 10:07 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
---
 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 dcd36f4..ddebde8 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,				\
 }
-- 
1.5.6.5

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-25 10:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-25 10:07 [PATCH] mmp2: add mask function in irq Haojian Zhuang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).