From patchwork Wed May 11 12:44:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102366 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp204250qge; Wed, 11 May 2016 05:45:12 -0700 (PDT) X-Received: by 10.67.22.168 with SMTP id ht8mr4711242pad.50.1462970712506; Wed, 11 May 2016 05:45:12 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id lg15si9644289pab.216.2016.05.11.05.45.12; Wed, 11 May 2016 05:45:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932140AbcEKMpI (ORCPT + 29 others); Wed, 11 May 2016 08:45:08 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:50882 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751611AbcEKMpE (ORCPT ); Wed, 11 May 2016 08:45:04 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue003) with ESMTPA (Nemesis) id 0Lbf3v-1bSLPv2ozj-00lDdl; Wed, 11 May 2016 14:44:48 +0200 From: Arnd Bergmann To: Tejun Heo Cc: Arnd Bergmann , Mans Rullgard , Andy Shevchenko , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ata: dwc: add DMADEVICES dependency Date: Wed, 11 May 2016 14:44:16 +0200 Message-Id: <1462970683-451525-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:k2MWO7Q+6N6P7XSJkIRK+xjA3el9A0UHdbgMB6IpmDjO3Mvo/Jo X18oaGMg8XSNkGoOg9dE1agJ26T71VBEl5jkF2IKyv5+T97Q98PowL/1bYPmMMSyCgqSj4c w7aqg5J7dj+c+89fNzjE1H7wAhpNUd9Hm+HV8U0/R26NnhAeI/lXEppgLaa1ilabzi2aLJO Gf1zR7Ohe1gBx4U5n8k1Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:KXToxxBnRGU=:rBkxEvEy3owCMXt7qEC8od GK2Zc2RBzTL+z+fm4ViD8D7mWyPNmwtzMYm/faPIV7zBXwcI72OZXXd9E5u9mDOecCX0N8S72 gLjEGWhLG+Y2XrwR6C2NKgvVJ/+tbq8uOdWBpwi9+9L2xiurpEpBFJiAC4FV488B5pmVTc4hy TnObMlram1u5Wyas6DF8e4QAVpqeKQikgGlfxALnfWzK9HfmJFQ6abWyA1n/ycWL1C0ugknqU NGcGcRuTYI1FgKbr1zlLLqGumxvuwfAfwvEN8wAL7bApqJArplqGV+sYg31fyQCx7x3Fc2c/H qcXdB3RL2/Am01hHyOKsKN+77nXTIWRCuqJlWF9KxPzTQQp2Zw2MW8WtshUXVg1U5wsGUjWV1 FMHpOhlB7jPMXXWjpE+/lqC8DvV8S6ON19Y2q8CsUkIR6cLwRZ2dz1bMtK9STJPO/ZbdgHBhX 5Y6extXV+Cp7HYAzlYl3zgFbgEs9U9uoaUcglol2ZwLZTFufiOXDU3T6h95X0DZmbAg5/9bam v0pkaQWRScGTPm9uIKbBSc7pWdyRZkKYGMDji+b5ealic49Z2SYhVL2540XXmtq49Vvw18exM erNX2DiQwRD59HG6GA68rd66yxfw5QU+R3iV+HlxxIi5YSla8sOvrkU6rwWIV6Y5cV+wHDVAY bjzkJqj+b2Bnv/zIlqTqaU+cMuF0vdB8BM/NOtXkhsk0l+RUsEw+jkbhhqvaxiRHzVSA= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The dwc_460ex SATA driver has become available on non-powerpc architectures and may cause randconfig build errors when CONFIG_DMADEVICES is not set: warning: (SATA_DWC_OLD_DMA) selects DW_DMAC_CORE which has unmet direct dependencies (DMADEVICES) ERROR: "dw_dma_probe" [drivers/ata/sata_dwc_460ex.ko] undefined! ERROR: "dw_dma_remove" [drivers/ata/sata_dwc_460ex.ko] undefined! This adds an explcit Kconfig dependency so we can only build configurations that build without warnings. Signed-off-by: Arnd Bergmann Fixes: 50b433753df6 ("ata: sata_dwc_460ex: use "dmas" DT property to find dma channel") --- drivers/ata/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.0 diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 41b0725e58ad..8f7a4a4d2566 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -322,7 +322,7 @@ config SATA_DWC config SATA_DWC_OLD_DMA bool "Support old device trees" - depends on SATA_DWC + depends on SATA_DWC && DMADEVICES select DW_DMAC_CORE default y if 460EX help