X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=drivers%2Fvirtio%2Fvirtio_pci_common.h;h=5a497289b7e9c336d1478db41ca5c0f60fbbafb9;hp=d840dad4149df8b3a523a1c6d61bc86442b4367d;hb=945399a8c78ac225cdbaece0f94c0d8741b4e1d8;hpb=dab363f938a53ddaee60bfecc1aebdbb3d3af5f0 diff --git a/drivers/virtio/virtio_pci_common.h b/drivers/virtio/virtio_pci_common.h index d840dad4149d..5a497289b7e9 100644 --- a/drivers/virtio/virtio_pci_common.h +++ b/drivers/virtio/virtio_pci_common.h @@ -27,7 +27,6 @@ #include #include #include -#define VIRTIO_PCI_NO_LEGACY #include #include #include @@ -127,10 +126,9 @@ const char *vp_bus_name(struct virtio_device *vdev); * - ignore the affinity request if we're using INTX */ int vp_set_vq_affinity(struct virtqueue *vq, int cpu); -void virtio_pci_release_dev(struct device *); -#ifdef CONFIG_PM_SLEEP -extern const struct dev_pm_ops virtio_pci_pm_ops; -#endif +int virtio_pci_legacy_probe(struct pci_dev *pci_dev, + const struct pci_device_id *id); +void virtio_pci_legacy_remove(struct pci_dev *pci_dev); #endif