diff options
Diffstat (limited to 'drivers/dma/ioat/pci.c')
-rw-r--r-- | drivers/dma/ioat/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ioat/pci.c b/drivers/dma/ioat/pci.c index c788fa266470..d545fae30f37 100644 --- a/drivers/dma/ioat/pci.c +++ b/drivers/dma/ioat/pci.c | |||
@@ -175,7 +175,7 @@ static void __devexit ioat_remove(struct pci_dev *pdev) | |||
175 | 175 | ||
176 | dev_err(&pdev->dev, "Removing dma and dca services\n"); | 176 | dev_err(&pdev->dev, "Removing dma and dca services\n"); |
177 | if (device->dca) { | 177 | if (device->dca) { |
178 | unregister_dca_provider(device->dca); | 178 | unregister_dca_provider(device->dca, &pdev->dev); |
179 | free_dca_provider(device->dca); | 179 | free_dca_provider(device->dca); |
180 | device->dca = NULL; | 180 | device->dca = NULL; |
181 | } | 181 | } |