powerpc: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc
[linux-2.6-block.git] / arch / powerpc / platforms / 52xx / mpc52xx_gpt.c
index c949ca055712be9c6bbe5ff4ed808d2d640a434a..63016621aff8af4807b37ed7af2a7ee078755e4b 100644 (file)
@@ -193,7 +193,7 @@ static struct irq_chip mpc52xx_gpt_irq_chip = {
 
 void mpc52xx_gpt_irq_cascade(unsigned int virq, struct irq_desc *desc)
 {
-       struct mpc52xx_gpt_priv *gpt = irq_get_handler_data(virq);
+       struct mpc52xx_gpt_priv *gpt = irq_desc_get_handler_data(desc);
        int sub_virq;
        u32 status;