Messages in this thread | | | Date | Sun, 21 Oct 2007 05:06:45 -0400 | From | Jeff Garzik <> | Subject | Re: [PATCH 6/17] drivers/char/riscom8: irq handler cleanups |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |