aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ahci_platform.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-02-22 16:53:33 +0100
committerTejun Heo <tj@kernel.org>2014-02-22 15:35:42 -0500
commit96a01ba52c60fdd74dd6e8cf06645d06515b1396 (patch)
tree5774b04f31afcfef1465d5650a355f4260603107 /include/linux/ahci_platform.h
parentahci-platform: Add support for an optional regulator for sata-target power (diff)
downloadlinux-dev-96a01ba52c60fdd74dd6e8cf06645d06515b1396.tar.xz
linux-dev-96a01ba52c60fdd74dd6e8cf06645d06515b1396.zip
ahci-platform: Add enable_ / disable_resources helper 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/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 769d06525320..b674b01ce9bc 100644
--- a/include/linux/ahci_platform.h
+++ b/include/linux/ahci_platform.h
@@ -33,5 +33,7 @@ struct ahci_platform_data {
int ahci_platform_enable_clks(struct ahci_host_priv *hpriv);
void ahci_platform_disable_clks(struct ahci_host_priv *hpriv);
+int ahci_platform_enable_resources(struct ahci_host_priv *hpriv);
+void ahci_platform_disable_resources(struct ahci_host_priv *hpriv);
#endif /* _AHCI_PLATFORM_H */