Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jamie Lokier and committed by
Rusty Russell
1f08b833 9f3a6284

+1 -1
+1 -1
drivers/virtio/virtio_pci.c
··· 702 702 .name = "virtio-pci", 703 703 .id_table = virtio_pci_id_table, 704 704 .probe = virtio_pci_probe, 705 - .remove = virtio_pci_remove, 705 + .remove = __devexit_p(virtio_pci_remove), 706 706 #ifdef CONFIG_PM 707 707 .suspend = virtio_pci_suspend, 708 708 .resume = virtio_pci_resume,