diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2008-03-19 20:35:04 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-03-28 11:05:51 +1100 |
commit | bd6c26900bae19bd51abedfc9a8a281afbba3a06 (patch) | |
tree | cb2058d113d81fa4b168b8675f000f8aecbf8b26 /include/sound/driver.h | |
parent | 3085354de635179d70c240e6d942bcbd1d93056c (diff) | |
download | kernel-crypto-bd6c26900bae19bd51abedfc9a8a281afbba3a06.tar.gz kernel-crypto-bd6c26900bae19bd51abedfc9a8a281afbba3a06.tar.xz kernel-crypto-bd6c26900bae19bd51abedfc9a8a281afbba3a06.zip |
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 'include/sound/driver.h')
0 files changed, 0 insertions, 0 deletions