From: Mark McLoughlin Date: Mon, 15 Dec 2008 12:58:27 +0000 (+0000) Subject: virtio: do not statically allocate root device X-Git-Tag: v2.6.29-rc1~229^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63d12556703f17817a46e140704360b29b851bad;p=pandora-kernel.git 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 Cc: Anthony Liguori Acked-by: Rusty Russell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed