diff options
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2014-03-25 14:51:39 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-03-25 15:17:13 -0400 |
commit | fd990556f0fa25446c6bfa9cf4c9e49d387d4472 (patch) | |
tree | 0020bd48b0312034f1d84d4560e323961d052669 /drivers/ata/Kconfig | |
parent | 83b03fd67b9b3fa3795871169f3c08c35b3d6ea8 (diff) |
ata: move library code from ahci_platform.c to libahci_platform.c
Move AHCI platform library code from ahci_platform.c to
libahci_platform.c and fix dependencies for ahci_st,
ahci_imx and ahci_sunxi drivers.
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/Kconfig')
-rw-r--r-- | drivers/ata/Kconfig | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 9f3e3269c09a..12767ad098e0 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig | |||
@@ -99,7 +99,6 @@ config SATA_AHCI_PLATFORM | |||
99 | 99 | ||
100 | config AHCI_ST | 100 | config AHCI_ST |
101 | tristate "ST AHCI SATA support" | 101 | tristate "ST AHCI SATA support" |
102 | depends on SATA_AHCI_PLATFORM | ||
103 | depends on ARCH_STI | 102 | depends on ARCH_STI |
104 | help | 103 | help |
105 | This option enables support for ST AHCI SATA controller. | 104 | This option enables support for ST AHCI SATA controller. |
@@ -108,7 +107,7 @@ config AHCI_ST | |||
108 | 107 | ||
109 | config AHCI_IMX | 108 | config AHCI_IMX |
110 | tristate "Freescale i.MX AHCI SATA support" | 109 | tristate "Freescale i.MX AHCI SATA support" |
111 | depends on SATA_AHCI_PLATFORM && MFD_SYSCON | 110 | depends on MFD_SYSCON |
112 | help | 111 | help |
113 | This option enables support for the Freescale i.MX SoC's | 112 | This option enables support for the Freescale i.MX SoC's |
114 | onboard AHCI SATA. | 113 | onboard AHCI SATA. |
@@ -117,7 +116,7 @@ config AHCI_IMX | |||
117 | 116 | ||
118 | config AHCI_SUNXI | 117 | config AHCI_SUNXI |
119 | tristate "Allwinner sunxi AHCI SATA support" | 118 | tristate "Allwinner sunxi AHCI SATA support" |
120 | depends on ARCH_SUNXI && SATA_AHCI_PLATFORM | 119 | depends on ARCH_SUNXI |
121 | help | 120 | help |
122 | This option enables support for the Allwinner sunxi SoC's | 121 | This option enables support for the Allwinner sunxi SoC's |
123 | onboard AHCI SATA. | 122 | onboard AHCI SATA. |
@@ -126,7 +125,7 @@ config AHCI_SUNXI | |||
126 | 125 | ||
127 | config AHCI_XGENE | 126 | config AHCI_XGENE |
128 | tristate "APM X-Gene 6.0Gbps AHCI SATA host controller support" | 127 | tristate "APM X-Gene 6.0Gbps AHCI SATA host controller support" |
129 | depends on SATA_AHCI_PLATFORM && (ARM64 || COMPILE_TEST) | 128 | depends on ARM64 || COMPILE_TEST |
130 | select PHY_XGENE | 129 | select PHY_XGENE |
131 | help | 130 | help |
132 | This option enables support for APM X-Gene SoC SATA host controller. | 131 | This option enables support for APM X-Gene SoC SATA host controller. |