Skip to content

Commit

Permalink
[I/OAT]: Remove pci_module_init() from Intel I/OAT DMA engine
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Henrik Kretzschmar authored and David S. Miller committed Jul 21, 2006
1 parent 64d2f08 commit b826315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dma/ioatdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ static int __init ioat_init_module(void)
/* 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);
Expand Down

0 comments on commit b826315

Please sign in to comment.