[2.6 patch] drivers/pcmcia/m32r_cfc.c: fix compilation
From: Adrian Bunk
Date: Sat Dec 02 2006 - 12:56:03 EST
More fallout of the post 2.6.19-rc1 IRQ changes...
<-- snip -->
...
CC drivers/pcmcia/m32r_cfc.o
In function 'pcc_interrupt_wrapper':
/home/bunk/linux/kernel-2.6/linux-2.6.19-rc6-mm2/drivers/pcmcia/m32r_cfc.c:401:
error: too many arguments to function 'pcc_interrupt'
make[3]: *** [drivers/pcmcia/m32r_cfc.o] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
--- linux-2.6.19-rc6-mm2/drivers/pcmcia/m32r_cfc.c.old 2006-12-02 18:40:16.000000000 +0100
+++ linux-2.6.19-rc6-mm2/drivers/pcmcia/m32r_cfc.c 2006-12-02 18:40:41.000000000 +0100
@@ -398,7 +398,7 @@
static void pcc_interrupt_wrapper(u_long data)
{
debug(3, "m32r_cfc: pcc_interrupt_wrapper:\n");
- pcc_interrupt(0, NULL, NULL);
+ pcc_interrupt(0, NULL);
init_timer(&poll_timer);
poll_timer.expires = jiffies + poll_interval;
add_timer(&poll_timer);
-
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/