Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);