summaryrefslogtreecommitdiff
path: root/include/linux/cnt32_to_63.h
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2008-12-10 20:45:34 +0300
committerRusty Russell <rusty@rustcorp.com.au>2008-12-30 01:56:10 +0300
commit29f9f12ec737af62835124e4a8bdb9de631f04dd (patch)
tree2323188170fb6462d45f34e4dfd2f34120057a76 /include/linux/cnt32_to_63.h
parentb194aee95622f649311f8e53418a17e210ff6827 (diff)
downloadlinux-29f9f12ec737af62835124e4a8bdb9de631f04dd.tar.xz
virtio: add PCI device release() function
Add a release() function for virtio_pci devices so as to avoid: Device 'virtio0' does not have a release() function, it is broken and must be fixed Move the code to free the resources associated with the device from virtio_pci_remove() into this new function. virtio_pci_remove() now merely unregisters the device which should cause the final ref to be dropped and virtio_pci_release_dev() to be called. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Reported-by: Michael Tokarev <mjt@tls.msk.ru> Cc: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/cnt32_to_63.h')
0 files changed, 0 insertions, 0 deletions