From patchwork Wed Mar 26 14:19:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 3893861 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 D82799F2E8 for ; Wed, 26 Mar 2014 14:25:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1583120165 for ; Wed, 26 Mar 2014 14:25:31 +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 A0A3120149 for ; Wed, 26 Mar 2014 14:25:29 +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 1WSolb-0006dw-Dm; Wed, 26 Mar 2014 14:25:19 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSogj-0008PO-LQ; Wed, 26 Mar 2014 14:20:17 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSogf-0008OI-5p for linux-arm-kernel@lists.infradead.org; Wed, 26 Mar 2014 14:20:15 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N31001JVRT0JI90@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 26 Mar 2014 23:19:48 +0900 (KST) X-AuditID: cbfee61a-b7fb26d00000724f-62-5332e20425b1 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id C0.6A.29263.402E2335; Wed, 26 Mar 2014 23:19:48 +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 <0N310017ORSS0D10@mmp2.samsung.com>; Wed, 26 Mar 2014 23:19:48 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Tejun Heo Subject: [PATCH] ata: fix R-Car SATA driver dependencies Date: Wed, 26 Mar 2014 15:19:23 +0100 Message-id: <4494466.bbG3GqUbue@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+NgFjrCLMWRmVeSWpSXmKPExsVy+t9jQV2WR0bBBqtf8Vo0b/3KaLHp8TVW i2M7HjFZXN41h81izp8pzBYPVr9ls/i1/CijA7vHzll32T02repk89i8pN5jzs9vLB6fN8kF sEZx2aSk5mSWpRbp2yVwZTQ/a2IrOMFe8eX5BpYGxlVsXYycHBICJhLPW/9B2WISF+6tB7K5 OIQEpjNKbLzylR3CaWGSeH5sAQtIFZuAlcTE9lWMILaIgKzElWkPGUGKmAWOM0r03rgMViQs YCHxqO03WBGLgKrElRv3mUFsXgFNiQd3vjCB2KICnhI7tq9kg4gLSvyYfA+sl1lAXmLf/qms ELaWxPqdx5kmMPLNQlI2C0nZLCRlCxiZVzGKphYkFxQnpeca6hUn5haX5qXrJefnbmIEh+0z qR2MKxssDjEKcDAq8fDuuG8ULMSaWFZcmXuIUYKDWUmEV/gGUIg3JbGyKrUoP76oNCe1+BCj NAeLkjjvgVbrQCGB9MSS1OzU1ILUIpgsEwenVAPjyS8HPz56Hfr2bIHxxk9PMxc/Y9yfpx0b eXzSzjfNjs9msNzi+L8gl+2IpAFv2o+SstqZnHcKHnBPDGg1ip28d17q7rYzAYWCgQXyr2f+ nF9YJ3m4Y8nNmf53OzIbPkuwpp4XOLssSeB0f+k0pUKHwuq+R7E3SxKEXl0KTL6+88f2qfOM zybfUWIpzkg01GIuKk4EADo02ftXAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140326_102013_431459_E6F89A8E X-CRM114-Status: UNSURE ( 8.95 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.3 (-------) Cc: linux-sh@vger.kernel.org, Magnus Damm , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, Simon Horman , 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 sata_rcar host driver depend on ARCH_SHMOBILE config option as Renesas R-Car SATA support is specific to Renesas 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: Simon Horman Cc: Magnus Damm 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-25 20:08:10.220311027 +0100 +++ b/drivers/ata/Kconfig 2014-03-26 15:09:04.259143796 +0100 @@ -298,6 +298,7 @@ config SATA_PROMISE config SATA_RCAR tristate "Renesas R-Car SATA support" + depends on ARCH_SHMOBILE || COMPILE_TEST help This option enables support for Renesas R-Car Serial ATA.