From: Jamie Lokier Date: Fri, 8 Jan 2010 22:01:43 +0000 (+0000) Subject: Add __devexit_p around reference to virtio_pci_remove X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1f08b833ddbdb1c8e81c4b1053c2ebb7b89cb437;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Rusty Russell --- 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,