diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-02-22 16:53:32 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-02-22 15:35:42 -0500 |
commit | 4b3e603a298db26c6c37e8b08adcce24d014df13 (patch) | |
tree | ee83e07b60a9fc55e3882c826ee9804223ebaf3a /drivers/ata/ahci.h | |
parent | 156c5887948cd191417f18026aab9ce26e5a95da (diff) |
ahci-platform: Add support for an optional regulator for sata-target power
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/ahci.h')
-rw-r--r-- | drivers/ata/ahci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index c12862bd48ee..bf8100c51142 100644 --- a/drivers/ata/ahci.h +++ b/drivers/ata/ahci.h @@ -37,6 +37,7 @@ #include <linux/clk.h> #include <linux/libata.h> +#include <linux/regulator/consumer.h> /* Enclosure Management Control */ #define EM_CTRL_MSG_TYPE 0x000f0000 @@ -323,6 +324,7 @@ struct ahci_host_priv { u32 em_buf_sz; /* EM buffer size in byte */ u32 em_msg_type; /* EM message type */ struct clk *clks[AHCI_MAX_CLKS]; /* Optional */ + struct regulator *target_pwr; /* Optional */ void *plat_data; /* Other platform data */ /* * Optional ahci_start_engine override, if not set this gets set to the |