summaryrefslogtreecommitdiff
path: root/drivers/ata/Kconfig
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-01-04 09:09:23 +0300
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-01-14 09:17:16 +0300
commitb7c9b00fb050c6b3fea6e32f1adbe0194296eb1f (patch)
treea533a3a7700b7b4a300cc0acea4503726c9261a4 /drivers/ata/Kconfig
parent3d98cbf7096ea50bbb4256c7781555bb69a07e52 (diff)
downloadlinux-b7c9b00fb050c6b3fea6e32f1adbe0194296eb1f.tar.xz
ata: ahci_xgene: add compile test support
Add Kconfig dependendy on COMPILE_TEST to allow compile tests with configs that do not enable PHY_XGENE. Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'drivers/ata/Kconfig')
-rw-r--r--drivers/ata/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 49ce1e0d19d7..f96a29b1c8a3 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -256,7 +256,7 @@ config AHCI_TEGRA
config AHCI_XGENE
tristate "APM X-Gene 6.0Gbps AHCI SATA host controller support"
- depends on PHY_XGENE
+ depends on PHY_XGENE || COMPILE_TEST
select SATA_HOST
help
This option enables support for APM X-Gene SoC SATA host controller.