Commit b8263158 authored by Henrik Kretzschmar's avatar Henrik Kretzschmar Committed by David S. Miller

[I/OAT]: Remove pci_module_init() from Intel I/OAT DMA engine

Changes pci_module_init() to pci_register_driver().
Signed-off-by: default avatarHenrik Kretzschmar <henne@nachtwindheim.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 64d2f085
...@@ -828,7 +828,7 @@ static int __init ioat_init_module(void) ...@@ -828,7 +828,7 @@ static int __init ioat_init_module(void)
/* if forced, worst case is that rmmod hangs */ /* if forced, worst case is that rmmod hangs */
__unsafe(THIS_MODULE); __unsafe(THIS_MODULE);
return pci_module_init(&ioat_pci_drv); return pci_register_driver(&ioat_pci_drv);
} }
module_init(ioat_init_module); module_init(ioat_init_module);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment