[PATCH] 2.5.12 drivers/ide/pdcadma.c

Frank Davis
2002-05-01T22:54:21Z

Hello all,
This patch addresses the following error :

pdcadma.c: In function `pdcadma_dmaproc`
pdcadma.c:69: too few arguments to function `ide_dmaproc`
make[3]: *** [pdcadma.o] Error 1

Its missing the "struct request * " argument, which I set to NULL

Please review for inclusion.

Regards,
Frank

--- drivers/ide/pdcadma.c.old Mon Apr 15 20:57:57 2002
+++ drivers/ide/pdcadma.c Wed May 1 18:35:12 2002
@@ -66,7 +66,7 @@
default:
break;
}
- return ide_dmaproc(func, drive); /* use standard DMA stuff */
+ return ide_dmaproc(func, drive, NULL); /* use standard DMA stuff */
}
#endif /* CONFIG_BLK_DEV_IDEDMA */