diff options
author | Dexuan Cui <decui@microsoft.com> | 2019-09-19 23:46:12 +0200 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2019-10-01 20:49:45 +0200 |
commit | 83b50f83a96899f30c6369ef5988412fa2354ab2 (patch) | |
tree | d7828ca795b63c2e8f72260d58fc7b27681682da /drivers/thunderbolt | |
parent | HID: hyperv: Use in-place iterator API in the channel callback (diff) | |
download | linux-83b50f83a96899f30c6369ef5988412fa2354ab2.tar.xz linux-83b50f83a96899f30c6369ef5988412fa2354ab2.zip |
Drivers: hv: vmbus: Fix harmless building warnings without CONFIG_PM_SLEEP
If CONFIG_PM_SLEEP is not set, we can comment out these functions to avoid
the below warnings:
drivers/hv/vmbus_drv.c:2208:12: warning: ‘vmbus_bus_resume’ defined but not used [-Wunused-function]
drivers/hv/vmbus_drv.c:2128:12: warning: ‘vmbus_bus_suspend’ defined but not used [-Wunused-function]
drivers/hv/vmbus_drv.c:937:12: warning: ‘vmbus_resume’ defined but not used [-Wunused-function]
drivers/hv/vmbus_drv.c:918:12: warning: ‘vmbus_suspend’ defined but not used [-Wunused-function]
Fixes: 271b2224d42f ("Drivers: hv: vmbus: Implement suspend/resume for VSC drivers for hibernation")
Fixes: f53335e3289f ("Drivers: hv: vmbus: Suspend/resume the vmbus itself for hibernation")
Reported-by: Arnd Bergmann <arnd@arndb.de>
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 'drivers/thunderbolt')
0 files changed, 0 insertions, 0 deletions