diff options
author | Henrik Kretzschmar <henne@nachtwindheim.de> | 2006-07-21 14:50:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-07-21 14:50:13 -0700 |
commit | b82631581372dc00b3507cedc3ad47af29efe962 (patch) | |
tree | b8bcf35b3c7e9efe755da4e2bad38b7a6384e082 /drivers | |
parent | 64d2f0855e50a7185546ee1fbc03c2badc31330f (diff) | |
download | linux-3.10-b82631581372dc00b3507cedc3ad47af29efe962.tar.gz linux-3.10-b82631581372dc00b3507cedc3ad47af29efe962.tar.bz2 linux-3.10-b82631581372dc00b3507cedc3ad47af29efe962.zip |
[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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma/ioatdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |