]> Git Repo - linux.git/commitdiff
ata: fix Marvell SATA driver dependencies
authorBartlomiej Zolnierkiewicz <[email protected]>
Thu, 27 Mar 2014 13:24:39 +0000 (14:24 +0100)
committerTejun Heo <[email protected]>
Thu, 27 Mar 2014 14:50:33 +0000 (10:50 -0400)
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 <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Gregory Clement <[email protected]>
Cc: Sebastian Hesselbarth <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
drivers/ata/Kconfig

index af0f71a01e31816dd80695965d4db4816b927cc9..71bd29ce0c5cd6856df450e233425d5bc3de9d74 100644 (file)
@@ -281,6 +281,8 @@ config SATA_HIGHBANK
 
 config SATA_MV
        tristate "Marvell SATA support"
+       depends on PCI || ARCH_DOVE || ARCH_KIRKWOOD || ARCH_MV78XX0 || \
+                  ARCH_MVEBU || ARCH_ORION5X || COMPILE_TEST
        help
          This option enables support for the Marvell Serial ATA family.
          Currently supports 88SX[56]0[48][01] PCI(-X) chips,
This page took 0.058283 seconds and 4 git commands to generate.