]> xenbits.xensource.com Git - people/aperard/linux.git/commitdiff
ata: pata_imx: add compile test support
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 4 Jan 2022 06:31:34 +0000 (15:31 +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 ARCH_MXC.

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

index f0e59ab5c11fa9172a39393fc1c9be3155cb5ff5..a07cbc46ee605a89dcd9e13f686752c2f9fc6532 100644 (file)
@@ -748,7 +748,7 @@ config PATA_ICSIDE
 
 config PATA_IMX
        tristate "PATA support for Freescale iMX"
-       depends on ARCH_MXC
+       depends on ARCH_MXC || COMPILE_TEST
        select PATA_TIMINGS
        help
          This option enables support for the PATA host available on Freescale