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

- From: Damien Le Moal \<hidden\>
- Date: 2022-01-04 04:57:53 
- List: linux-ide
- Page: https://ratatoskr.run/linux-ide/2022/01/16728126
- Thread: https://ratatoskr.run/linux-ide/2022/01/16728126/t.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

```
