Commit 1f08b833 authored by Jamie Lokier's avatar Jamie Lokier Committed by Rusty Russell

Add __devexit_p around reference to virtio_pci_remove

This is needed to compile with CONFIG_VIRTIO_PCI=y,
because virtio_pci_remove is marked __devexit.
Signed-off-by: default avatarJamie Lokier <jamie@shareable.org>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 9f3a6284
...@@ -702,7 +702,7 @@ static struct pci_driver virtio_pci_driver = { ...@@ -702,7 +702,7 @@ static struct pci_driver virtio_pci_driver = {
.name = "virtio-pci", .name = "virtio-pci",
.id_table = virtio_pci_id_table, .id_table = virtio_pci_id_table,
.probe = virtio_pci_probe, .probe = virtio_pci_probe,
.remove = virtio_pci_remove, .remove = __devexit_p(virtio_pci_remove),
#ifdef CONFIG_PM #ifdef CONFIG_PM
.suspend = virtio_pci_suspend, .suspend = virtio_pci_suspend,
.resume = virtio_pci_resume, .resume = virtio_pci_resume,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment