Skip to content

Commit 7767c73

Browse files
author
Damien Le Moal
committed
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>
1 parent 7dc3c05 commit 7767c73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ata/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ config PATA_VIA
969969

970970
config PATA_PXA
971971
tristate "PXA DMA-capable PATA support"
972-
depends on ARCH_PXA
972+
depends on ARCH_PXA || COMPILE_TEST
973973
help
974974
This option enables support for harddrive attached to PXA CPU's bus.
975975

0 commit comments

Comments
 (0)