From: Bartlomiej Zolnierkiewicz Date: Thu, 27 Mar 2014 13:24:39 +0000 (+0100) Subject: ata: fix Marvell SATA driver dependencies X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=03803ef66d22702af124d21552f90ac32da9fef5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Andrew Lunn Cc: Gregory Clement Cc: Sebastian Hesselbarth Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Tejun Heo --- 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 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,