diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2008-03-20 04:35:04 +0300 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-03-28 03:05:51 +0300 |
commit | bd6c26900bae19bd51abedfc9a8a281afbba3a06 (patch) | |
tree | cb2058d113d81fa4b168b8675f000f8aecbf8b26 /drivers/amba | |
parent | 3085354de635179d70c240e6d942bcbd1d93056c (diff) | |
download | linux-bd6c26900bae19bd51abedfc9a8a281afbba3a06.tar.xz |
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>
Diffstat (limited to 'drivers/amba')
0 files changed, 0 insertions, 0 deletions