summaryrefslogtreecommitdiff
path: root/drivers/virtio/virtio_pci_common.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-12-11 22:47:49 +0300
committerMichael S. Tsirkin <mst@redhat.com>2014-12-14 16:10:30 +0300
commit9a4253db0c4ea1b6b15aa289203bc0584298278e (patch)
tree2c3bc1790be312a8eb5747c71105e6b27c09b362 /drivers/virtio/virtio_pci_common.h
parentde2b48d581e522298eefa9c75abdcd87549a2465 (diff)
downloadlinux-9a4253db0c4ea1b6b15aa289203bc0584298278e.tar.xz
virtio_pci: move probe to common file
It turns out this make everything easier. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio_pci_common.h')
-rw-r--r--drivers/virtio/virtio_pci_common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/virtio/virtio_pci_common.h b/drivers/virtio/virtio_pci_common.h
index 38d99adcc74a..adddb647b21d 100644
--- a/drivers/virtio/virtio_pci_common.h
+++ b/drivers/virtio/virtio_pci_common.h
@@ -128,8 +128,8 @@ const char *vp_bus_name(struct virtio_device *vdev);
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