Messages in this thread Patch in this message | | | Date | Tue, 18 Jul 2006 20:22:26 +0200 | From | Henne <> | Subject | [PATCH] Remove pci_module_init() from Intel I/OAT DMA engine |
| |
From: Henrik Kretzschmar <henne@nachtwindheim.de>
Changes pci_module_init() to pci_register_driver(). Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> ---
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |