Skip to content
Commit cecdbdc3 authored by Yuan Liu's avatar Yuan Liu Committed by Michael S. Tsirkin
Browse files

virtio_mmio: Set dev.release() to avoid warning



Fix a warning thrown from virtio_mmio_remove():
Device 'virtio0' does not have a release() function

The fix is according to virtio_pci_probe() of
drivers/virtio/virtio_pci_common.c

Signed-off-by: default avatarYuan Liu <liuyuan@google.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 8d390464
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment