Skip to content

Commit b826315

Browse files
Henrik Kretzschmardavem330
authored andcommitted
[I/OAT]: Remove pci_module_init() from Intel I/OAT DMA engine
Changes pci_module_init() to pci_register_driver(). Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 64d2f08 commit b826315

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/dma/ioatdma.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ static int __init ioat_init_module(void)
828828
/* if forced, worst case is that rmmod hangs */
829829
__unsafe(THIS_MODULE);
830830

831-
return pci_module_init(&ioat_pci_drv);
831+
return pci_register_driver(&ioat_pci_drv);
832832
}
833833

834834
module_init(ioat_init_module);

0 commit comments

Comments
 (0)