aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/Kconfig
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2014-03-27 09:24:39 -0400
committerTejun Heo <tj@kernel.org>2014-03-27 10:50:33 -0400
commit03803ef66d22702af124d21552f90ac32da9fef5 (patch)
treefbb9ce933d00749583604690b3e598dbdc6bde43 /drivers/ata/Kconfig
parente638433b5021f59aacbfe15597beca1e706773fb (diff)
ata: fix Marvell SATA driver dependencies
Make sata_mv host driver depend on PCI || ARCH_DOVE || ARCH_KIRKWOOD || ARCH_MV78XX0 || ARCH_MVEBU || ARCH_ORION5X config options as Marvell SATA support covers both Marvell PCI devices and Marvell Dove, Kirkwood, MV78xx0, Armada 370/XP and Orion5x SoCs (for non-PCI devices 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: Jason Cooper <jason@lakedaemon.net> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Gregory Clement <gregory.clement@free-electrons.com> Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/Kconfig')
-rw-r--r--drivers/ata/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index af0f71a01e31..71bd29ce0c5c 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -281,6 +281,8 @@ config SATA_HIGHBANK
281 281
282config SATA_MV 282config SATA_MV
283 tristate "Marvell SATA support" 283 tristate "Marvell SATA support"
284 depends on PCI || ARCH_DOVE || ARCH_KIRKWOOD || ARCH_MV78XX0 || \
285 ARCH_MVEBU || ARCH_ORION5X || COMPILE_TEST
284 help 286 help
285 This option enables support for the Marvell Serial ATA family. 287 This option enables support for the Marvell Serial ATA family.
286 Currently supports 88SX[56]0[48][01] PCI(-X) chips, 288 Currently supports 88SX[56]0[48][01] PCI(-X) chips,