[2.6 patch] drivers/pcmcia/m32r_cfc.c: fix compilation

Adrian Bunk bunk at stusta.de
Sat Dec 2 12:55:06 EST 2006


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 at stusta.de>

--- 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);




More information about the linux-pcmcia mailing list