diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2014-02-22 10:53:31 -0500 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2014-02-22 15:35:41 -0500 |
| commit | 156c5887948cd191417f18026aab9ce26e5a95da (patch) | |
| tree | 65100ae8c89fec69d8f949ceb9b9b413a6af3468 /include/linux | |
| parent | 039ece38da45f5e6a94be3aa7611cf3634bc2461 (diff) | |
ahci-platform: Add support for devices with more then 1 clock
The allwinner-sun4i AHCI controller needs 2 clocks to be enabled and the
imx AHCI controller needs 3 clocks to be enabled.
tj: Minor comment formatting updates.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ahci_platform.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ahci_platform.h b/include/linux/ahci_platform.h index 73a25005d88a..769d06525320 100644 --- a/include/linux/ahci_platform.h +++ b/include/linux/ahci_platform.h | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | 19 | ||
| 20 | struct device; | 20 | struct device; |
| 21 | struct ata_port_info; | 21 | struct ata_port_info; |
| 22 | struct ahci_host_priv; | ||
| 22 | 23 | ||
| 23 | struct ahci_platform_data { | 24 | struct ahci_platform_data { |
| 24 | int (*init)(struct device *dev, void __iomem *addr); | 25 | int (*init)(struct device *dev, void __iomem *addr); |
| @@ -30,4 +31,7 @@ struct ahci_platform_data { | |||
| 30 | unsigned int mask_port_map; | 31 | unsigned int mask_port_map; |
| 31 | }; | 32 | }; |
| 32 | 33 | ||
| 34 | int ahci_platform_enable_clks(struct ahci_host_priv *hpriv); | ||
| 35 | void ahci_platform_disable_clks(struct ahci_host_priv *hpriv); | ||
| 36 | |||
| 33 | #endif /* _AHCI_PLATFORM_H */ | 37 | #endif /* _AHCI_PLATFORM_H */ |
