From patchwork Wed Mar 26 16:19:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 3894331 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5D0359F2E8 for ; Wed, 26 Mar 2014 16:25:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 84501201BC for ; Wed, 26 Mar 2014 16:25:06 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0DC2E201BB for ; Wed, 26 Mar 2014 16:25:05 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSqdO-00034Q-Hg; Wed, 26 Mar 2014 16:24:58 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSqYW-0003ru-P6; Wed, 26 Mar 2014 16:19:56 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSqYS-0003qs-E3 for linux-arm-kernel@lists.infradead.org; Wed, 26 Mar 2014 16:19:54 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N31006CQXCGZO00@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 27 Mar 2014 01:19:28 +0900 (KST) X-AuditID: cbfee61a-b7fb26d00000724f-e8-5332fe10007f Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id DD.96.29263.01EF2335; Thu, 27 Mar 2014 01:19:28 +0900 (KST) Received: from amdc1032.localnet ([106.116.147.136]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N31001RKXC70D90@mmp2.samsung.com>; Thu, 27 Mar 2014 01:19:28 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Tejun Heo Subject: [PATCH] ata: fix Marvell SATA driver dependencies Date: Wed, 26 Mar 2014 17:19:02 +0100 Message-id: <5138028.BSQbEP7RRB@amdc1032> User-Agent: KMail/4.8.4 (Linux/3.2.0-54-generic-pae; KDE/4.8.5; i686; ; ) MIME-version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrALMWRmVeSWpSXmKPExsVy+t9jQV2Bf0bBBm8/qFqcv3uI2WJT21tG i8Yll1ksNj2+xmpxbMcjJovLu+awWbz/6Wjxa/lRRgcOjyebLjJ67Jx1l91j06pONo+GA+dZ PDYvqffYueMzk8fnTXIB7FFcNimpOZllqUX6dglcGZ8XhRZc4Kz4ef4BSwNjD0cXIyeHhICJ xMzGZ8wQtpjEhXvr2boYuTiEBKYzSlyevZQFwmlhkng/6SUbSBWbgJXExPZVjCC2iICsxJVp DxlBipgFZjNJTH75mgUkIQxUtHfSTlYQm0VAVeLfvz/sXYwcHLwCmhL77qWChEUFPCV2bF8J NpNXQFDix+R7YK3MAvIS+/ZPZYWwtSTW7zzONIGRbxaSsllIymYhKVvAyLyKUTS1ILmgOCk9 11CvODG3uDQvXS85P3cTIzicn0ntYFzZYHGIUYCDUYmHd8d9o2Ah1sSy4srcQ4wSHMxKIrw7 vgKFeFMSK6tSi/Lji0pzUosPMUpzsCiJ8x5otQ4UEkhPLEnNTk0tSC2CyTJxcEo1MNp+efJJ aJK9l3a5Ql1Mzbs8n5N/n274eVOi523Nj8c2Hbfur1DomqFy30feIP7Gk2kaAj4b/j/Oc3sQ q5KiJbKQNTzw+r7lL01NBdqFC8Smqjx+HOuirr9RmGVdh4h+En/uGuEjSzZHvJUp7FvK92Cx xatffhvzwr4KnbLgbdh9xX2TZLWQgxJLcUaioRZzUXEiAIdEsX5jAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140326_121952_698853_E53437D1 X-CRM114-Status: GOOD ( 10.28 ) X-Spam-Score: -7.3 (-------) Cc: Andrew Lunn , Jason Cooper , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, Gregory Clement , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- drivers/ata/Kconfig | 2 ++ 1 file changed, 2 insertions(+) Index: b/drivers/ata/Kconfig =================================================================== --- a/drivers/ata/Kconfig 2014-03-26 15:49:59.919101924 +0100 +++ b/drivers/ata/Kconfig 2014-03-26 17:02:08.187028122 +0100 @@ -273,6 +273,8 @@ config SATA_HIGHBANK config SATA_MV tristate "Marvell SATA support" + depends on PCI || ARCH_KIRKWOOD || ARCH_MVEBU || ARCH_ORION5X || \ + COMPILE_TEST select GENERIC_PHY help This option enables support for the Marvell Serial ATA family.