From: Damien Le Moal Date: Tue, 4 Jan 2022 06:35:57 +0000 (+0900) Subject: ata: pata_pxa: add compile test support X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7767c73a3565ae975e7f1de7900815be4267cc3c;p=uclinux-h8%2Flinux.git 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 Reviewed-by: Hannes Reinecke --- 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.