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: 3893821 X-Patchwork-Delegate: lethal@linux-sh.org Return-Path: X-Original-To: patchwork-linux-sh@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 BBCF8BF540 for ; Wed, 26 Mar 2014 14:19:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F31EE2021A for ; Wed, 26 Mar 2014 14:19:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 17154201E7 for ; Wed, 26 Mar 2014 14:19:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755025AbaCZOTu (ORCPT ); Wed, 26 Mar 2014 10:19:50 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:8940 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754599AbaCZOTt (ORCPT ); Wed, 26 Mar 2014 10:19:49 -0400 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>; 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 Cc: Simon Horman , Magnus Damm , linux-ide@vger.kernel.org, linux-sh@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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 Content-transfer-encoding: 7Bit Content-type: text/plain; charset=us-ascii 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 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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.