summaryrefslogtreecommitdiffstats
path: root/sound/oss/dev_table.c
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2008-12-15 13:58:27 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 19:44:34 +0100
commit63d12556703f17817a46e140704360b29b851bad (patch)
treebe9741e515a075010e2fbb217ea0c41b85613ca2 /sound/oss/dev_table.c
parentdriver core: add root_device_register() (diff)
downloadlinux-63d12556703f17817a46e140704360b29b851bad.tar.xz
linux-63d12556703f17817a46e140704360b29b851bad.zip
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>
Diffstat (limited to 'sound/oss/dev_table.c')
0 files changed, 0 insertions, 0 deletions