diff options
Diffstat (limited to 'drivers/ata/ahci.h')
| -rw-r--r-- | drivers/ata/ahci.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index 40f0e34f17af..71262e08648e 100644 --- a/drivers/ata/ahci.h +++ b/drivers/ata/ahci.h | |||
| @@ -333,7 +333,7 @@ struct ahci_host_priv { | |||
| 333 | u32 em_msg_type; /* EM message type */ | 333 | u32 em_msg_type; /* EM message type */ |
| 334 | bool got_runtime_pm; /* Did we do pm_runtime_get? */ | 334 | bool got_runtime_pm; /* Did we do pm_runtime_get? */ |
| 335 | struct clk *clks[AHCI_MAX_CLKS]; /* Optional */ | 335 | struct clk *clks[AHCI_MAX_CLKS]; /* Optional */ |
| 336 | struct regulator *target_pwr; /* Optional */ | 336 | struct regulator **target_pwrs; /* Optional */ |
| 337 | /* | 337 | /* |
| 338 | * If platform uses PHYs. There is a 1:1 relation between the port number and | 338 | * If platform uses PHYs. There is a 1:1 relation between the port number and |
| 339 | * the PHY position in this array. | 339 | * the PHY position in this array. |
| @@ -354,6 +354,10 @@ extern int ahci_ignore_sss; | |||
| 354 | extern struct device_attribute *ahci_shost_attrs[]; | 354 | extern struct device_attribute *ahci_shost_attrs[]; |
| 355 | extern struct device_attribute *ahci_sdev_attrs[]; | 355 | extern struct device_attribute *ahci_sdev_attrs[]; |
| 356 | 356 | ||
| 357 | /* | ||
| 358 | * This must be instantiated by the edge drivers. Read the comments | ||
| 359 | * for ATA_BASE_SHT | ||
| 360 | */ | ||
| 357 | #define AHCI_SHT(drv_name) \ | 361 | #define AHCI_SHT(drv_name) \ |
| 358 | ATA_NCQ_SHT(drv_name), \ | 362 | ATA_NCQ_SHT(drv_name), \ |
| 359 | .can_queue = AHCI_MAX_CMDS - 1, \ | 363 | .can_queue = AHCI_MAX_CMDS - 1, \ |
