Message ID | 20220104105843.1730172-11-damien.lemoal@opensource.wdc.com |
---|---|
State | New |
Headers | show |
Series | Improve compile test coverage | expand |
On 1/4/22 11:58 AM, Damien Le Moal wrote: > 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> > --- > drivers/ata/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig > index 9def63c7e9ad..1be6a14e46e1 100644 > --- a/drivers/ata/Kconfig > +++ b/drivers/ata/Kconfig > @@ -273,7 +273,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. > Reviewed-by: Hannes Reinecke <hare@suse.de> Cheers, Hannes
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 9def63c7e9ad..1be6a14e46e1 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -273,7 +273,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.
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> --- drivers/ata/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)