Skip to contentSkip to conversation

Remove pci_module_init() from Intel I/OAT DMA engine

PATCH Henne 1 participant 1 message Jul 18, 2006

Subsystems (3)
lore
Share & tools
lore

Henne

author
#0 lore raw
Quoted 3 lines

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 <[email protected]>

Changes pci_module_init() to pci_register_driver().

---

drivers/dma/ioatdma.c +1 -1
diff -ruN linux-2.6.18-rc2/drivers/dma/ioatdma.c linux/drivers/dma/ioatdma.c
@@ -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);