Skip to content

Commit 1f08b83

Browse files
jlokierrustyrussell
authored andcommitted
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: Jamie Lokier <[email protected]> Signed-off-by: Rusty Russell <[email protected]>
1 parent 9f3a628 commit 1f08b83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/virtio/virtio_pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ static struct pci_driver virtio_pci_driver = {
702702
.name = "virtio-pci",
703703
.id_table = virtio_pci_id_table,
704704
.probe = virtio_pci_probe,
705-
.remove = virtio_pci_remove,
705+
.remove = __devexit_p(virtio_pci_remove),
706706
#ifdef CONFIG_PM
707707
.suspend = virtio_pci_suspend,
708708
.resume = virtio_pci_resume,

0 commit comments

Comments
 (0)