]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/arm/mach-pxa/viper.c
[ARM] pxa: use chip->ack() instead of accessing GEDR directly
[net-next-2.6.git] / arch / arm / mach-pxa / viper.c
index 89f258c9e126acf249f719a39a629946cc8ae024..12d4ed338d037ef170519ab8c47037727b5d0c1d 100644 (file)
@@ -281,7 +281,7 @@ static void viper_irq_handler(unsigned int irq, struct irq_desc *desc)
        do {
                /* we're in a chained irq handler,
                 * so ack the interrupt by hand */
-               GEDR(VIPER_CPLD_GPIO) = GPIO_bit(VIPER_CPLD_GPIO);
+               desc->chip->ack(irq);
 
                if (likely(pending)) {
                        irq = viper_bit_to_irq(__ffs(pending));