diff options
| -rw-r--r-- | drivers/ata/ahci_brcmstb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/ahci_brcmstb.c b/drivers/ata/ahci_brcmstb.c index ce1e3a885981..42b6cf4a05c8 100644 --- a/drivers/ata/ahci_brcmstb.c +++ b/drivers/ata/ahci_brcmstb.c | |||
| @@ -209,6 +209,7 @@ static void brcm_sata_init(struct brcm_ahci_priv *priv) | |||
| 209 | priv->top_ctrl + SATA_TOP_CTRL_BUS_CTRL); | 209 | priv->top_ctrl + SATA_TOP_CTRL_BUS_CTRL); |
| 210 | } | 210 | } |
| 211 | 211 | ||
| 212 | #ifdef CONFIG_PM_SLEEP | ||
| 212 | static int brcm_ahci_suspend(struct device *dev) | 213 | static int brcm_ahci_suspend(struct device *dev) |
| 213 | { | 214 | { |
| 214 | struct ata_host *host = dev_get_drvdata(dev); | 215 | struct ata_host *host = dev_get_drvdata(dev); |
| @@ -231,6 +232,7 @@ static int brcm_ahci_resume(struct device *dev) | |||
| 231 | brcm_sata_phys_enable(priv); | 232 | brcm_sata_phys_enable(priv); |
| 232 | return ahci_platform_resume(dev); | 233 | return ahci_platform_resume(dev); |
| 233 | } | 234 | } |
| 235 | #endif | ||
| 234 | 236 | ||
| 235 | static struct scsi_host_template ahci_platform_sht = { | 237 | static struct scsi_host_template ahci_platform_sht = { |
| 236 | AHCI_SHT(DRV_NAME), | 238 | AHCI_SHT(DRV_NAME), |
