ata: ahci_st: Enable compile test
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Mon, 19 Sep 2022 23:52:02 +0000 (08:52 +0900)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Mon, 19 Sep 2022 23:52:02 +0000 (08:52 +0900)
Enable compiling the ahci_st driver when COMPILE_TEST is enabled.

Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/Kconfig

index 1a8a1bb..36833a8 100644 (file)
@@ -188,7 +188,7 @@ config AHCI_DWC
 
 config AHCI_ST
        tristate "ST AHCI SATA support"
-       depends on ARCH_STI
+       depends on ARCH_STI || COMPILE_TEST
        select SATA_HOST
        help
          This option enables support for ST AHCI SATA controller.