From: Bartlomiej Zolnierkiewicz Date: Wed, 26 Mar 2014 14:33:37 +0000 (+0100) Subject: ata: fix ARASAN CompactFlash PATA driver dependencies X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8155d533b1d352e9fc7e3baa8b8f4d5551338dc8;p=karo-tx-linux.git 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. Cc: Viresh Kumar Cc: Shiraz Hashim Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Tejun Heo (cherry picked from commit e638433b5021f59aacbfe15597beca1e706773fb) --- diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index f7cb597f67e0..f195744e38d6 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -387,6 +387,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