]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
[I/OAT]: Remove pci_module_init() from Intel I/OAT DMA engine
authorHenrik Kretzschmar <henne@nachtwindheim.de>
Fri, 21 Jul 2006 21:50:13 +0000 (14:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Jul 2006 21:50:13 +0000 (14:50 -0700)
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>
drivers/dma/ioatdma.c

index 78bf46d917b70eec62feab544ca6b839e482f978..dbd4d6c3698e7761849dee0cb019ac7f3366c486 100644 (file)
@@ -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);