linux/drivers/virtio
Mark McLoughlin 63d1255670 virtio: do not statically allocate root device
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 <markmc@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06 10:44:34 -08:00
..
config.c
Kconfig
Makefile
virtio_balloon.c virtio: avoid implicit use of Linux page size in balloon interface 2008-12-30 09:26:04 +10:30
virtio_pci.c virtio: do not statically allocate root device 2009-01-06 10:44:34 -08:00
virtio_ring.c virtio: hand virtio ring alignment as argument to vring_new_virtqueue 2008-12-30 09:26:03 +10:30
virtio.c