diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-02-22 16:53:35 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-02-22 15:35:42 -0500 |
commit | 648cb6fd83b97f0f772db783a280af300fa9f2bc (patch) | |
tree | 027965858e2f30afd97961e8920d0f19950bb960 /include | |
parent | 23b07d4cb3c0c850055cf968af44019b8da185fb (diff) |
ahci-platform: "Library-ise" suspend / resume functionality
Split suspend / resume code into host suspend / resume functionality and
resource enable / disabling phases, and export the new suspend_ / resume_host
functions.
tj: Minor comment formatting updates.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ahci_platform.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/ahci_platform.h b/include/linux/ahci_platform.h index b80c51c20f76..542f2686eb1d 100644 --- a/include/linux/ahci_platform.h +++ b/include/linux/ahci_platform.h @@ -50,4 +50,9 @@ int ahci_platform_init_host(struct platform_device *pdev, unsigned int force_port_map, unsigned int mask_port_map); +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); + #endif /* _AHCI_PLATFORM_H */ |