From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Zolnierkiewicz Subject: [PATCH v2] ata: fix Marvell SATA driver dependencies Date: Wed, 26 Mar 2014 17:59:03 +0100 Message-ID: <3641258.OaO7lhnDYy@amdc1032> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Return-path: Received: from mailout2.samsung.com ([203.254.224.25]:20203 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755320AbaCZQ7Z (ORCPT ); Wed, 26 Mar 2014 12:59:25 -0400 Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Tejun Heo Cc: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , linux-ide@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Make sata_mv host driver depend on PCI || ARCH_KIRKWOOD || ARCH_MVEBU || ARCH_ORION5X config options as Marvell SATA support covers both Marvell PCI devices and Marvell Kirkwood, Armada 370/XP and Orion5x SoCs (for non-PCI devices the driver to work requires suitable device tree node 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 --- v2: - previous patch was against libata/for-next branch (SATA_MV selects GENERIC_PHY in for-next branch) drivers/ata/Kconfig | 2 ++ 1 file changed, 2 insertions(+) Index: b/drivers/ata/Kconfig =================================================================== --- a/drivers/ata/Kconfig 2014-03-26 17:43:46.000000000 +0100 +++ b/drivers/ata/Kconfig 2014-03-26 17:45:34.522983681 +0100 @@ -281,6 +281,8 @@ config SATA_HIGHBANK config SATA_MV tristate "Marvell SATA support" + depends on PCI || ARCH_KIRKWOOD || 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,