diff options
| -rw-r--r-- | drivers/ata/ahci_mvebu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ata/ahci_mvebu.c b/drivers/ata/ahci_mvebu.c index bbab688d3c34..d4bba3ace45d 100644 --- a/drivers/ata/ahci_mvebu.c +++ b/drivers/ata/ahci_mvebu.c | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | 30 | ||
| 31 | struct ahci_mvebu_plat_data { | 31 | struct ahci_mvebu_plat_data { |
| 32 | int (*plat_config)(struct ahci_host_priv *hpriv); | 32 | int (*plat_config)(struct ahci_host_priv *hpriv); |
| 33 | unsigned int flags; | ||
| 33 | }; | 34 | }; |
| 34 | 35 | ||
| 35 | static void ahci_mvebu_mbus_config(struct ahci_host_priv *hpriv, | 36 | static void ahci_mvebu_mbus_config(struct ahci_host_priv *hpriv, |
| @@ -195,6 +196,7 @@ static int ahci_mvebu_probe(struct platform_device *pdev) | |||
| 195 | if (IS_ERR(hpriv)) | 196 | if (IS_ERR(hpriv)) |
| 196 | return PTR_ERR(hpriv); | 197 | return PTR_ERR(hpriv); |
| 197 | 198 | ||
| 199 | hpriv->flags |= pdata->flags; | ||
| 198 | hpriv->plat_data = (void *)pdata; | 200 | hpriv->plat_data = (void *)pdata; |
| 199 | 201 | ||
| 200 | rc = ahci_platform_enable_resources(hpriv); | 202 | rc = ahci_platform_enable_resources(hpriv); |
| @@ -225,6 +227,7 @@ static const struct ahci_mvebu_plat_data ahci_mvebu_armada_380_plat_data = { | |||
| 225 | 227 | ||
| 226 | static const struct ahci_mvebu_plat_data ahci_mvebu_armada_3700_plat_data = { | 228 | static const struct ahci_mvebu_plat_data ahci_mvebu_armada_3700_plat_data = { |
| 227 | .plat_config = ahci_mvebu_armada_3700_config, | 229 | .plat_config = ahci_mvebu_armada_3700_config, |
| 230 | .flags = AHCI_HFLAG_SUSPEND_PHYS, | ||
| 228 | }; | 231 | }; |
| 229 | 232 | ||
| 230 | static const struct of_device_id ahci_mvebu_of_match[] = { | 233 | static const struct of_device_id ahci_mvebu_of_match[] = { |
