dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/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
..
Kconfig virtio: balloon driver 2008-02-04 23:50:13 +11:00
Makefile virtio: balloon driver 2008-02-04 23:50:13 +11:00
config.c
virtio.c virtio: struct device - replace bus_id with dev_name(), dev_set_name() 2008-12-30 09:25:56 +10:30
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