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>
This commit is contained in:
parent
23b07d4cb3
commit
648cb6fd83
2 changed files with 87 additions and 15 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue