summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2014-03-26 15:33:37 +0100
committerTejun Heo <tj@kernel.org>2014-03-26 12:49:26 -0400
commite638433b5021f59aacbfe15597beca1e706773fb (patch)
tree0a1adf05f4a836190851df424453a528c8e8598e /drivers/ata
parentd5185d655c1fc4dfd467303f45ba4496ad84ddf9 (diff)
downloadlinux-e638433b5021f59aacbfe15597beca1e706773fb.tar.gz
linux-e638433b5021f59aacbfe15597beca1e706773fb.tar.bz2
linux-e638433b5021f59aacbfe15597beca1e706773fb.zip
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 <viresh.linux@gmail.com> Cc: Shiraz Hashim <shiraz.hashim@st.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 23f15f48896b..af0f71a01e31 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -386,6 +386,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