summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2014-03-26 15:19:23 +0100
committerTejun Heo <tj@kernel.org>2014-03-26 15:20:52 +0100
commit7596d93d8dfa7a508ca52c7d9b7db763eb5b0715 (patch)
treeb2806f492ea80b90f9b655aa74e1af47e159d9b5 /drivers
parentARM: davinci: da850: update SATA AHCI support (diff)
downloadlinux-7596d93d8dfa7a508ca52c7d9b7db763eb5b0715.tar.xz
linux-7596d93d8dfa7a508ca52c7d9b7db763eb5b0715.zip
ata: fix R-Car SATA driver dependencies
Make sata_rcar host driver depend on ARCH_SHMOBILE config option as Renesas R-Car SATA support is specific to Renesas 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: Simon Horman <horms@verge.net.au> Cc: Magnus Damm <magnus.damm@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 6e3be7d78adc..f4d9a6abbcf6 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -305,6 +305,7 @@ config SATA_PROMISE
config SATA_RCAR
tristate "Renesas R-Car SATA support"
+ depends on ARCH_SHMOBILE || COMPILE_TEST
help
This option enables support for Renesas R-Car Serial ATA.