OSDN Git Service

ata: ahci_dm816: add compile test support
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 4 Jan 2022 05:53:49 +0000 (14:53 +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_OMAP2PLUS.

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

index b100565..47b7b69 100644 (file)
@@ -166,7 +166,7 @@ config AHCI_DA850
 
 config AHCI_DM816
        tristate "DaVinci DM816 AHCI SATA support"
-       depends on ARCH_OMAP2PLUS
+       depends on ARCH_OMAP2PLUS || COMPILE_TEST
        select SATA_HOST
        help
          This option enables support for the DaVinci DM816 SoC's