diff options
Diffstat (limited to 'drivers/virtio')
-rw-r--r-- | drivers/virtio/virtio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c index 5ce2aa48fc6e..5fa67b5282ad 100644 --- a/drivers/virtio/virtio.c +++ b/drivers/virtio/virtio.c | |||
@@ -280,7 +280,7 @@ static struct bus_type virtio_bus = { | |||
280 | 280 | ||
281 | bool virtio_device_is_legacy_only(struct virtio_device_id id) | 281 | bool virtio_device_is_legacy_only(struct virtio_device_id id) |
282 | { | 282 | { |
283 | return id.device == VIRTIO_ID_BALLOON; | 283 | return false; |
284 | } | 284 | } |
285 | EXPORT_SYMBOL_GPL(virtio_device_is_legacy_only); | 285 | EXPORT_SYMBOL_GPL(virtio_device_is_legacy_only); |
286 | 286 | ||