From: Anthony Liguori Date: Thu, 20 Mar 2008 01:35:04 +0000 (-0500) Subject: virtio_pci: unregister virtio device at device remove X-Git-Tag: v2.6.25-rc8~70^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd6c26900bae19bd51abedfc9a8a281afbba3a06;p=pandora-kernel.git virtio_pci: unregister virtio device at device remove Make sure to call unregister_virtio_device() when a virtio device is removed. Otherwise, virtio_pci.ko cannot be rmmod'd. This was spotted by Marcelo Tosatti. Signed-off-by: Anthony Liguori Signed-off-by: Rusty Russell --- Reading git-diff-tree failed