From: Henrik Kretzschmar Date: Fri, 21 Jul 2006 21:50:13 +0000 (-0700) Subject: [I/OAT]: Remove pci_module_init() from Intel I/OAT DMA engine X-Git-Tag: v2.6.18-rc3~59^2~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b82631581372dc00b3507cedc3ad47af29efe962;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: David S. Miller --- diff --git a/drivers/dma/ioatdma.c b/drivers/dma/ioatdma.c index 78bf46d917b..dbd4d6c3698 100644 --- a/drivers/dma/ioatdma.c +++ b/drivers/dma/ioatdma.c @@ -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);