OSDN Git Service

ata: ahci_seattle: add compile test support
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 4 Jan 2022 06:11:15 +0000 (15:11 +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 ARCH_SEATTLE.

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

index f96a29b..ff5bb8e 100644 (file)
@@ -294,7 +294,7 @@ config SATA_GEMINI
 
 config SATA_AHCI_SEATTLE
        tristate "AMD Seattle 6.0Gbps AHCI SATA host controller support"
-       depends on ARCH_SEATTLE
+       depends on ARCH_SEATTLE || COMPILE_TEST
        select SATA_HOST
        help
         This option enables support for AMD Seattle SATA host controller.