summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/irq-common.h
diff options
context:
space:
mode:
authorHui Wang <jason77.wang@gmail.com>2011-09-22 17:40:08 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2011-09-23 08:32:14 +0200
commit3439a397a8190b7e8d319959ec30e28c7ca14bab (patch)
tree8feab81ed1c843020bf516d82f5518f88381e3e4 /arch/arm/plat-mxc/irq-common.h
parent40d97b89bd3c902144a0757249d9d5d5cf314214 (diff)
downloadblackbird-op-linux-3439a397a8190b7e8d319959ec30e28c7ca14bab.tar.gz
blackbird-op-linux-3439a397a8190b7e8d319959ec30e28c7ca14bab.zip
ARM i.MX avic: convert to use generic irq chip
Convert i.MX avic irq handler to use generic irq chip. This not only provides a cleanup implementation of irq chip handler, but also implements suspend/resume interface with the help of generic irq chip interface. Change mxc_irq_chip to a new structure mxc_extra_irq to handle fiq and priority functions. Signed-off-by: Hui Wang <jason77.wang@gmail.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/irq-common.h')
-rw-r--r--arch/arm/plat-mxc/irq-common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/irq-common.h b/arch/arm/plat-mxc/irq-common.h
index 7203543fb1b3..6ccb3a14c693 100644
--- a/arch/arm/plat-mxc/irq-common.h
+++ b/arch/arm/plat-mxc/irq-common.h
@@ -19,9 +19,8 @@
#ifndef __PLAT_MXC_IRQ_COMMON_H__
#define __PLAT_MXC_IRQ_COMMON_H__
-struct mxc_irq_chip
+struct mxc_extra_irq
{
- struct irq_chip base;
int (*set_priority)(unsigned char irq, unsigned char prio);
int (*set_irq_fiq)(unsigned int irq, unsigned int type);
};
OpenPOWER on IntegriCloud