summaryrefslogtreecommitdiffstats
path: root/drivers/ata/Kconfig
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-01-04 07:35:57 +0100
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-01-14 07:17:17 +0100
commit7767c73a3565ae975e7f1de7900815be4267cc3c (patch)
treed8c5593a84bdd4651b0f27c2d265da6eefc68b2a /drivers/ata/Kconfig
parentata: pata_imx: add compile test support (diff)
downloadlinux-7767c73a3565ae975e7f1de7900815be4267cc3c.tar.xz
linux-7767c73a3565ae975e7f1de7900815be4267cc3c.zip
ata: pata_pxa: add compile test support
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>
Diffstat (limited to 'drivers/ata/Kconfig')
-rw-r--r--drivers/ata/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index a07cbc46ee60..be812fe727fc 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -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.