Re: [PATCH 6/17] drivers/char/riscom8: irq handler cleanups

From: Jeff Garzik
Date: Sun Oct 21 2007 - 05:07:00 EST


Jiri Slaby wrote:
-static irqreturn_t rc_interrupt(int irq, void * dev_id)
+static irqreturn_t rc_interrupt(int dummy, void * dev_id)
{
unsigned char status;
unsigned char ack;
- struct riscom_board *bp;
+ struct riscom_board *bp = dev_id;
unsigned long loop = 0;
int handled = 0;
- bp = IRQ_to_board[irq];
-

Remove the declaration of the IRQ_to_board too, since we don't reference it
anymore, we only set it up.

done, thanks


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/