summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/mainstone.c
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2010-01-01 08:29:22 +0100
committerEric Miao <eric.y.miao@gmail.com>2010-03-02 00:40:45 +0100
commit669cb51c6abf77e10cbeb6f483c96abc492206ac (patch)
tree6f548cfcd5ba3794ea67ee94d6da18324c7b99c5 /arch/arm/mach-pxa/mainstone.c
parentMerge branch 'for-rmk' of git://git.marvell.com/orion into devel-stable (diff)
downloadlinux-669cb51c6abf77e10cbeb6f483c96abc492206ac.tar.xz
linux-669cb51c6abf77e10cbeb6f483c96abc492206ac.zip
[ARM] pxa: use chip->ack() instead of accessing GEDR directly
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/mainstone.c')
-rw-r--r--arch/arm/mach-pxa/mainstone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/mainstone.c b/arch/arm/mach-pxa/mainstone.c
index 851ee0fc32e2..a8674aacd347 100644
--- a/arch/arm/mach-pxa/mainstone.c
+++ b/arch/arm/mach-pxa/mainstone.c
@@ -162,7 +162,7 @@ static void mainstone_irq_handler(unsigned int irq, struct irq_desc *desc)
{
unsigned long pending = MST_INTSETCLR & mainstone_irq_enabled;
do {
- GEDR(0) = GPIO_bit(0); /* clear useless edge notification */
+ desc->chip->ack(irq); /* clear useless edge notification */
if (likely(pending)) {
irq = MAINSTONE_IRQ(0) + __ffs(pending);
generic_handle_irq(irq);