summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-04-15 10:17:44 +0930
committerRusty Russell <rusty@rustcorp.com.au>2015-04-15 12:41:11 +0930
commit2343dabc6096486b2705ab9420dd292801fc47f3 (patch)
treedb4c8dd127d1229d5670058e68614a87e0b11cac /drivers/virtio
parentdf81b29c7b81b9d70ee29b7a263dd5009daa0ce4 (diff)
downloadop-kernel-dev-2343dabc6096486b2705ab9420dd292801fc47f3.zip
op-kernel-dev-2343dabc6096486b2705ab9420dd292801fc47f3.tar.gz
virtio: balloon might not be a legacy device
We added transitional device support to balloon driver, so we don't need to black-list it in core anymore. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/virtio')
-rw-r--r--drivers/virtio/virtio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c
index 5ce2aa4..5fa67b5 100644
--- a/drivers/virtio/virtio.c
+++ b/drivers/virtio/virtio.c
@@ -280,7 +280,7 @@ static struct bus_type virtio_bus = {
bool virtio_device_is_legacy_only(struct virtio_device_id id)
{
- return id.device == VIRTIO_ID_BALLOON;
+ return false;
}
EXPORT_SYMBOL_GPL(virtio_device_is_legacy_only);
OpenPOWER on IntegriCloud