summaryrefslogtreecommitdiff
path: root/drivers/virtio/virtio_pci_common.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-12-11 14:13:16 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-12-11 20:04:39 +0200
commitde2b48d581e522298eefa9c75abdcd87549a2465 (patch)
tree047947c596c2c18664b6f6c3df4501ee60bfa154 /drivers/virtio/virtio_pci_common.h
parent3d2667826cbb5e2eb8d8c7ee92f74bcb00b36a2f (diff)
downloadlwn-de2b48d581e522298eefa9c75abdcd87549a2465.tar.gz
lwn-de2b48d581e522298eefa9c75abdcd87549a2465.zip
virtio_pci_common.h: drop VIRTIO_PCI_NO_LEGACY
Legacy drivers use virtio_pci_common.h too, we should not define VIRTIO_PCI_NO_LEGACY there. 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_pci_common.h b/drivers/virtio/virtio_pci_common.h
index d840dad4149d..38d99adcc74a 100644
--- a/drivers/virtio/virtio_pci_common.h
+++ b/drivers/virtio/virtio_pci_common.h
@@ -27,7 +27,6 @@
#include <linux/virtio.h>
#include <linux/virtio_config.h>
#include <linux/virtio_ring.h>
-#define VIRTIO_PCI_NO_LEGACY
#include <linux/virtio_pci.h>
#include <linux/highmem.h>
#include <linux/spinlock.h>