aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/virtio
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
parentvirtio_config: fix virtio_cread_bytes (diff)
downloadlinux-dev-de2b48d581e522298eefa9c75abdcd87549a2465.tar.xz
linux-dev-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')
-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>