Re: [PATCH] Remove pci_module_init() from Intel I/OAT DMA engine

From: Henne
Date: Tue Jul 18 2006 - 17:08:20 EST


> Your email client corrupted your patch by changing tabs
> into spaces, therefore your patch does not apply and is
> unusable.
So this one should work. Thanks for reply.

Greets,
Henrik Kretzschmar

---
From: Henrik Kretzschmar <henne@xxxxxxxxxxxxxxxx>

Changes pci_module_init() to pci_register_driver().
Signed-off-by: Henrik Kretzschmar <henne@xxxxxxxxxxxxxxxx>
---

diff -ruN linux-2.6.18-rc2/drivers/dma/ioatdma.c linux/drivers/dma/ioatdma.c
--- linux-2.6.18-rc2/drivers/dma/ioatdma.c 2006-07-18 13:36:57.000000000 +0200
+++ linux/drivers/dma/ioatdma.c 2006-07-18 19:56:51.000000000 +0200
@@ -828,7 +828,7 @@
/* if forced, worst case is that rmmod hangs */
__unsafe(THIS_MODULE);

- return pci_module_init(&ioat_pci_drv);
+ return pci_register_driver(&ioat_pci_drv);
}

module_init(ioat_init_module);


-
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/