[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <44BD26E2.9080106@nachtwindheim.de>
Date: Tue, 18 Jul 2006 20:22:26 +0200
From: Henne <henne@...htwindheim.de>
To: davem@...emloft.net
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...ts.osdl.org
Subject: [PATCH] Remove pci_module_init() from Intel I/OAT DMA engine
From: Henrik Kretzschmar <henne@...htwindheim.de>
Changes pci_module_init() to pci_register_driver().
Signed-off-by: Henrik Kretzschmar <henne@...htwindheim.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists