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

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

index ff5bb8e0d601027d7ab60664835ccf84ea54d291..8e211b21f48fb7210023731009d4d556b143e621 100644 (file)
@@ -599,7 +599,7 @@ config PATA_ATP867X
 
 config PATA_BK3710
        tristate "Palmchip BK3710 PATA support"
-       depends on ARCH_DAVINCI
+       depends on ARCH_DAVINCI || COMPILE_TEST
        select PATA_TIMINGS
        help
          This option enables support for the integrated IDE controller on