ata: sata_fsl: add compile test support
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 4 Jan 2022 04:46:18 +0000 (13:46 +0900)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Wed, 5 Jan 2022 10:33:03 +0000 (19:33 +0900)
Add dependendy on COMPILE_TEST to allow compile tests with configs that
do not enable FSL_SOC.

Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/ata/Kconfig

index f6e943c740019ebd3c6999ad172307cc6f8b58ae..af6bf1b8902afc5c787d9565879dc0c7910bc5e3 100644 (file)
@@ -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.