summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Zhu <r65037@freescale.com>2012-07-10 13:14:02 +0800
committerTerry Lv <r65388@freescale.com>2012-07-25 13:10:42 +0800
commit375d71865bc30af549bb08fcfdce61e81a9a18fe (patch)
tree81e81af7441c0dbc010320f527fb057a81cdcf1c /include
parentea4f073f9f8d9d655bfb30d7f14606337c49a106 (diff)
ENGR00215810-2 AHCI: sata drops to 1.5Gbps after suspend/resume several times
Add the AHCI platform suspend/resume function callback to fix this issue. Signed-off-by: Richard Zhu <r65037@freescale.com>
Diffstat (limited to 'include')
-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 be3d9a77d6ed..73a25005d88a 100644
--- a/include/linux/ahci_platform.h
+++ b/include/linux/ahci_platform.h
@@ -23,6 +23,8 @@ struct ata_port_info;
struct ahci_platform_data {
int (*init)(struct device *dev, void __iomem *addr);
void (*exit)(struct device *dev);
+ int (*suspend)(struct device *dev);
+ int (*resume)(struct device *dev);
const struct ata_port_info *ata_port_info;
unsigned int force_port_map;
unsigned int mask_port_map;