ata: ahci_xgene: add compile test support
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 4 Jan 2022 06:09:23 +0000 (15:09 +0900)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Fri, 14 Jan 2022 06:17:16 +0000 (15:17 +0900)
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>
drivers/ata/Kconfig

index 49ce1e0..f96a29b 100644 (file)
@@ -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.