diff options
author | Jamie Lokier <jamie@shareable.org> | 2010-01-08 17:01:43 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-02-23 22:52:04 -0500 |
commit | 1f08b833ddbdb1c8e81c4b1053c2ebb7b89cb437 (patch) | |
tree | d6f9a8e468e177ca5ab97c233d827f4698ba8757 /drivers/virtio/virtio_pci.c | |
parent | 9f3a6284880ceea452903e2043c88d7226736318 (diff) |
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>
Diffstat (limited to 'drivers/virtio/virtio_pci.c')
-rw-r--r-- | drivers/virtio/virtio_pci.c | 2 |
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 = { | |||
702 | .name = "virtio-pci", | 702 | .name = "virtio-pci", |
703 | .id_table = virtio_pci_id_table, | 703 | .id_table = virtio_pci_id_table, |
704 | .probe = virtio_pci_probe, | 704 | .probe = virtio_pci_probe, |
705 | .remove = virtio_pci_remove, | 705 | .remove = __devexit_p(virtio_pci_remove), |
706 | #ifdef CONFIG_PM | 706 | #ifdef CONFIG_PM |
707 | .suspend = virtio_pci_suspend, | 707 | .suspend = virtio_pci_suspend, |
708 | .resume = virtio_pci_resume, | 708 | .resume = virtio_pci_resume, |