[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>
This commit is contained in:
parent
64d2f0855e
commit
b826315813
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue