Skip to contentSkip to conversation

ata: fix ARASAN CompactFlash PATA driver dependencies

PATCH Applied Bartlomiej Zolnierkiewicz 2 participants 2 messages Mar 26, 2014 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ata: fix ARASAN CompactFlash PATA driver dependencies

Make pata_arasan_cf host driver depend on ARCH_SPEAR13XX config option as ARASAN CompactFlash PATA support is specific to ST SPEAr13xx SoCs and the driver to work requires suitable device tree node (or platform device) to be defined. Additionally allow the driver build if COMPILE_TEST config option is set.

---
 drivers/ata/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/ata/Kconfig +1 -0
Index: b/drivers/ata/Kconfig
===================================================================
@@ -378,6 +378,7 @@ config PATA_AMD
 
 config PATA_ARASAN_CF
 	tristate "ARASAN CompactFlash PATA Controller Support"
+	depends on ARCH_SPEAR13XX || COMPILE_TEST
 	depends on DMADEVICES
 	select DMA_ENGINE
 	help
Applied
#1 lore raw
Quoted 9 lines · Bartlomiej Zolnierkiewicz

Make pata_arasan_cf host driver depend on ARCH_SPEAR13XX config option as ARASAN CompactFlash PATA support is specific to ST SPEAr13xx SoCs and the driver to work requires suitable device tree node (or platform device) to be defined. Additionally allow the driver build if COMPILE_TEST config option is set.

Applied to libata/for-3.15. Thanks.

Signature · 1 line
tejun