mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
We shouldn't be statically allocating the root device object, so dynamically allocate it using root_device_register() instead. Also avoids this warning from 'rmmod virtio_pci': Device 'virtio-pci' does not have a release() function, it is broken and must be fixed Signed-off-by: Mark McLoughlin <[email protected]> Cc: Anthony Liguori <[email protected]> Acked-by: Rusty Russell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>