IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
[powerpc.git] / drivers / char / nwbutton.c
index ea1aa77..2d26497 100644 (file)
@@ -144,7 +144,7 @@ static void button_sequence_finished (unsigned long parameters)
  *  increments the counter.
  */ 
 
-static irqreturn_t button_handler (int irq, void *dev_id, struct pt_regs *regs)
+static irqreturn_t button_handler (int irq, void *dev_id)
 {
        if (button_press_count) {
                del_timer (&button_timer);