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 1a8a1bbc8a0e8f743b120371a902e075c7bc775e..36833a8629980785593f29151927a3dd1e6c2c28 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.