OSDN Git Service

ata: ahci_da850: add compile test support
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 4 Jan 2022 05:51:43 +0000 (14:51 +0900)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Wed, 5 Jan 2022 10:33:04 +0000 (19:33 +0900)
Add Kconfig dependendy on COMPILE_TEST to allow compile tests with
configs that do not enable ARCH_DAVINCI_DA850.

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

index 2ea0dcb..b100565 100644 (file)
@@ -156,7 +156,7 @@ config AHCI_BRCM
 
 config AHCI_DA850
        tristate "DaVinci DA850 AHCI SATA support"
-       depends on ARCH_DAVINCI_DA850
+       depends on ARCH_DAVINCI_DA850 || COMPILE_TEST
        select SATA_HOST
        help
          This option enables support for the DaVinci DA850 SoC's