summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJamie Lokier <jamie@shareable.org>2010-01-08 22:01:43 +0000
committerRusty Russell <rusty@rustcorp.com.au>2010-02-24 14:22:04 +1030
commit1f08b833ddbdb1c8e81c4b1053c2ebb7b89cb437 (patch)
treed6f9a8e468e177ca5ab97c233d827f4698ba8757
parent9f3a6284880ceea452903e2043c88d7226736318 (diff)
downloadlinux-1f08b833ddbdb1c8e81c4b1053c2ebb7b89cb437.tar.bz2
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 <jamie@shareable.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--drivers/virtio/virtio_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c
index 28d9cf7cf72f..1d5191fab62e 100644
--- a/drivers/virtio/virtio_pci.c
+++ b/drivers/virtio/virtio_pci.c
@@ -702,7 +702,7 @@ static struct pci_driver virtio_pci_driver = {
.name = "virtio-pci",
.id_table = virtio_pci_id_table,
.probe = virtio_pci_probe,
- .remove = virtio_pci_remove,
+ .remove = __devexit_p(virtio_pci_remove),
#ifdef CONFIG_PM
.suspend = virtio_pci_suspend,
.resume = virtio_pci_resume,