summaryrefslogtreecommitdiffstats
path: root/include/linux/ahci_platform.h
diff options
context:
space:
mode:
authorSamuel Morris <samorris@lexmark.com>2018-05-29 10:06:12 +0000
committerTejun Heo <tj@kernel.org>2018-06-18 10:58:55 -0700
commitaece27a2f01be4bb7683790f69cd1bed3a0929a2 (patch)
tree7a54d8b35b74fe7df3f2e08755c2f01ef7d5f329 /include/linux/ahci_platform.h
parent332c42a9ff7f75a4d9dd263a6e5da32b45de12ec (diff)
downloadlinux-stable-aece27a2f01be4bb7683790f69cd1bed3a0929a2.tar.gz
linux-stable-aece27a2f01be4bb7683790f69cd1bed3a0929a2.tar.bz2
linux-stable-aece27a2f01be4bb7683790f69cd1bed3a0929a2.zip
ata: ahci_platform: allow disabling of hotplug to save power
A number of resources remain powered to support hotplug. On platforms I've worked with, allowing the ahci_platform to suspend saves about 150mW. This patch enables rpm and allows the device to be auto-suspended through sysfs. Signed-off-by: Samuel Morris <samorris@lexmark.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/ahci_platform.h')
-rw-r--r--include/linux/ahci_platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ahci_platform.h b/include/linux/ahci_platform.h
index 1b0a17b22cd3..6396e6982103 100644
--- a/include/linux/ahci_platform.h
+++ b/include/linux/ahci_platform.h
@@ -42,5 +42,7 @@ int ahci_platform_suspend_host(struct device *dev);
int ahci_platform_resume_host(struct device *dev);
int ahci_platform_suspend(struct device *dev);
int ahci_platform_resume(struct device *dev);
+int ahci_platform_runtime_suspend(struct device *dev);
+int ahci_platform_runtime_resume(struct device *dev);
#endif /* _AHCI_PLATFORM_H */