diff options
author | Dexuan Cui | 2016-01-28 07:29:43 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-02-08 06:34:12 +0100 |
commit | 85d9aa705184a4504d0330017e3956fcdae8a9d6 (patch) | |
tree | 7c774df32a8aa8bce2eb3be6d06ddd8e0add4171 /include/linux/hyperv.h | |
parent | Drivers: hv: vmbus: add a per-channel rescind callback (diff) | |
download | kernel-qcow2-linux-85d9aa705184a4504d0330017e3956fcdae8a9d6.tar.gz kernel-qcow2-linux-85d9aa705184a4504d0330017e3956fcdae8a9d6.tar.xz kernel-qcow2-linux-85d9aa705184a4504d0330017e3956fcdae8a9d6.zip |
Drivers: hv: vmbus: add an API vmbus_hvsock_device_unregister()
The hvsock driver needs this API to release all the resources related
to the channel.
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r-- | include/linux/hyperv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 2e54e34e5feb..c056f058dcf8 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -1069,6 +1069,8 @@ int __must_check __vmbus_driver_register(struct hv_driver *hv_driver, const char *mod_name); void vmbus_driver_unregister(struct hv_driver *hv_driver); +void vmbus_hvsock_device_unregister(struct vmbus_channel *channel); + int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj, resource_size_t min, resource_size_t max, resource_size_t size, resource_size_t align, |