From patchwork Wed Mar 26 14:33:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 3893901 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 29F44BF540 for ; Wed, 26 Mar 2014 14:39:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 64BFC201FD for ; Wed, 26 Mar 2014 14:39:50 +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 E63AE201BA for ; Wed, 26 Mar 2014 14:39:48 +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 1WSozS-0000zG-6v; Wed, 26 Mar 2014 14:39:38 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSouR-0000PC-Vi; Wed, 26 Mar 2014 14:34:27 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSouN-0000O2-NG for linux-arm-kernel@lists.infradead.org; Wed, 26 Mar 2014 14:34:25 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3100AEUSGNMXB0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 26 Mar 2014 23:33:59 +0900 (KST) X-AuditID: cbfee61b-b7f456d000006dfd-e7-5332e5575b76 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 17.7A.28157.755E2335; Wed, 26 Mar 2014 23:33:59 +0900 (KST) Received: from amdc1032.localnet ([106.116.147.136]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N3100J8OSGJ6V00@mmp1.samsung.com>; Wed, 26 Mar 2014 23:33:59 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Tejun Heo Subject: [PATCH] ata: fix ARASAN CompactFlash PATA driver dependencies Date: Wed, 26 Mar 2014 15:33:37 +0100 Message-id: <1565826.7Ejj6LS6x7@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+NgFjrJLMWRmVeSWpSXmKPExsVy+t9jAd3wp0bBBptuGltsenyN1eLYjkdM Fpd3zWGzaOjuYbeYM2Mzq8Wv5UcZLVZe/MvswO6xc9Zddo9NqzrZPE5eOMnisXlJvcfTH3uZ PT5vkgtgi+KySUnNySxLLdK3S+DK6Ph2kqXgLnvFwa8H2BsYD7N1MXJySAiYSExet5MJwhaT uHBvPVCci0NIYBGjxIdDS1khnBYmifVrnzKCVLEJWElMbF8FZosIyEpcmfaQEaSIWeAso8S6 k7PZQRLCAm4S77ung41lEVCV6Nm0H6yBV0BT4viWJ2A1ogKeEju2r2SDiAtK/Jh8jwXEZhaQ l9i3fyorhK0lsX7ncaYJjHyzkJTNQlI2C0nZAkbmVYyiqQXJBcVJ6blGesWJucWleel6yfm5 mxjBAfxMegfjqgaLQ4wCHIxKPLw77hsFC7EmlhVX5h5ilOBgVhLhFb4BFOJNSaysSi3Kjy8q zUktPsQozcGiJM57sNU6UEggPbEkNTs1tSC1CCbLxMEp1cAopbJDLVMpxyNFetmSNye1npmt UG39KWlzQj8mjGfavjJpa4kf3+JmBk+d+olr4u7jHyQXSEqKMdwV3PfzyUn2uLJP0ds0l5ps +3xcpbFzdcSjP+zrdtuvVqzsCmh1YNy0RmffzxDj+dYPLZwUu6JWSse8vTJ3ko3J8enzLJU/ bmJN4644tn6qEktxRqKhFnNRcSIAlyyzwVwCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140326_103423_971335_4503DFCD X-CRM114-Status: UNSURE ( 8.16 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.3 (-------) Cc: linux-ide@vger.kernel.org, spear-devel@list.st.com, linux-kernel@vger.kernel.org, Shiraz Hashim , Viresh Kumar , linux-arm-kernel@lists.infradead.org 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 pata_arasan_cf host driver depend on ARCH_SPEAR13XX config option as ARASAN CompactFlash PATA support is specific to ST SPEAr13xx SoCs and 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: Viresh Kumar Cc: Shiraz Hashim Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ata/Kconfig | 1 + 1 file changed, 1 insertion(+) Index: b/drivers/ata/Kconfig =================================================================== --- a/drivers/ata/Kconfig 2014-03-26 15:09:47.395143062 +0100 +++ b/drivers/ata/Kconfig 2014-03-26 15:21:29.535131088 +0100 @@ -378,6 +378,7 @@ config PATA_AMD config PATA_ARASAN_CF tristate "ARASAN CompactFlash PATA Controller Support" + depends on ARCH_SPEAR13XX || COMPILE_TEST depends on DMADEVICES select DMA_ENGINE help