summaryrefslogtreecommitdiff
path: root/include/linux/hyperv.h
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2019-09-06 02:01:17 +0300
committerSasha Levin <sashal@kernel.org>2019-09-06 21:52:44 +0300
commit271b2224d42f88870e6b060924ee374871c131fc (patch)
treed25ba2bce5a00dc6b667eee734ec4ad69347c35f /include/linux/hyperv.h
parented56ef675ae6ef0e6f7d42b9c42dae61172f0960 (diff)
downloadlinux-271b2224d42f88870e6b060924ee374871c131fc.tar.xz
Drivers: hv: vmbus: Implement suspend/resume for VSC drivers for hibernation
The high-level VSC drivers will implement device-specific callbacks. Signed-off-by: Dexuan Cui <decui@microsoft.com> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r--include/linux/hyperv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index 2d39248cff96..8a60e7766037 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -1157,6 +1157,9 @@ struct hv_driver {
int (*remove)(struct hv_device *);
void (*shutdown)(struct hv_device *);
+ int (*suspend)(struct hv_device *);
+ int (*resume)(struct hv_device *);
+
};
/* Base device object */