ata: pata_ftide010: add compile test support
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 4 Jan 2022 06:24:52 +0000 (15:24 +0900)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Fri, 14 Jan 2022 06:17:17 +0000 (15:17 +0900)
Add Kconfig dependendy on COMPILE_TEST to allow compile tests with
configs that do not enable ARM.

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

index 2c381c59357ba464bffde587db7ee35dba12d33b..f0e59ab5c11fa9172a39393fc1c9be3155cb5ff5 100644 (file)
@@ -685,7 +685,7 @@ config PATA_EP93XX
 config PATA_FTIDE010
        tristate "Faraday Technology FTIDE010 PATA support"
        depends on OF
-       depends on ARM
+       depends on ARM || COMPILE_TEST
        depends on SATA_GEMINI
        help
          This option enables support for the Faraday FTIDE010