commit | bd6c26900bae19bd51abedfc9a8a281afbba3a06 | [log] [tgz] |
---|---|---|
author | Anthony Liguori <aliguori@us.ibm.com> | Wed Mar 19 20:35:04 2008 -0500 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Fri Mar 28 11:05:51 2008 +1100 |
tree | cb2058d113d81fa4b168b8675f000f8aecbf8b26 | |
parent | 3085354de635179d70c240e6d942bcbd1d93056c [diff] |
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 <aliguori@us.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>