# \[PATCH\] ata: sata\_fsl: add compile test support

- Subsystems: LIBATA SUBSYSTEM (Serial and Parallel ATA drivers), THE REST
- Maintainers: Damien Le Moal, Niklas Cassel, Linus Torvalds
- List: linux-ide
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-ide/2022/01/16728126/t

## \[PATCH\] ata: sata\_fsl: add compile test support

- From: Damien Le Moal \<hidden\>
- Date: 2022-01-04 04:57:53 
- Message: https://ratatoskr.run/linux-ide/2022/01/16728126.md

```text
Add dependendy on COMPILE_TEST to allow compile tests with configs that
do not enable FSL_SOC.

Signed-off-by: Damien Le Moal <redacted>
---
 drivers/ata/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index f6e943c74001..af6bf1b8902a 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -273,7 +273,7 @@ config AHCI_QORIQ
 
 config SATA_FSL
 	tristate "Freescale 3.0Gbps SATA support"
-	depends on FSL_SOC
+	depends on FSL_SOC || COMPILE_TEST
 	select SATA_HOST
 	help
 	  This option enables support for Freescale 3.0Gbps SATA controller.
-- 
2.31.1

```
