OSDN Git Service

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

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

index a07cbc4..be812fe 100644 (file)
@@ -969,7 +969,7 @@ config PATA_VIA
 
 config PATA_PXA
        tristate "PXA DMA-capable PATA support"
-       depends on ARCH_PXA
+       depends on ARCH_PXA || COMPILE_TEST
        help
          This option enables support for harddrive attached to PXA CPU's bus.