From patchwork Thu May 18 13:25:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9734361 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7E6F9600CC for ; Thu, 18 May 2017 13:28:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6BB4B286E7 for ; Thu, 18 May 2017 13:28:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6038B287BD; Thu, 18 May 2017 13:28:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E0229286E7 for ; Thu, 18 May 2017 13:28:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932137AbdERN2W (ORCPT ); Thu, 18 May 2017 09:28:22 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:51626 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756569AbdERN1H (ORCPT ); Thu, 18 May 2017 09:27:07 -0400 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPA (Nemesis) id 0MeBiQ-1dLtaJ2JXa-00PwX9; Thu, 18 May 2017 15:26:41 +0200 From: Arnd Bergmann To: Vinod Koul Cc: Arnd Bergmann , Dan Williams , Anup Patel , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dmaengine: bcm-sba-raid: fix Kconfig dependencies Date: Thu, 18 May 2017 15:25:25 +0200 Message-Id: <20170518132639.1685053-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:ZItyCwrgNr1j6AmS+X9nn1ANUQUp62QSYKkLBmLaEloG5uA7R85 74uiQO+96Br7AfqiK2YjhJqLr3F/SxsCfljDLornvZcfkR9/Jw3qjAnWbSpZkyNGZwJYkgs WrgAWY+4ET/fYDK+Fon0/aQSJBOuePkke+6nCUCqOnnte0CeY0GSRyUYtg8ZOnud7Yev5HY A43qLcvQJ3iADrLBNmqLA== X-UI-Out-Filterresults: notjunk:1; V01:K0:bIzutcF95Nc=:6mfgj0Ed6mXwmSaqdVeWCC jGoGhjURvz2u+ze5rutwPk6Zw35YP1sGZdnabOYZzfx/rTIbu+XVsTiBbovspqD3arOW4KXHy ZbrvKrzQr/LNv0WYY7cqbSIWUWey/T0p3r1CXe06rz0hi6+02jGrXCYOKpYTddC0LG8Nr7SQh bs2r2v6MO6S36iOQGcvT7J1rvXaqZFEVSR7TawXvtiHoKLQpwHYIuVQ0VfUlcM18dyvHmrCrw c38VCIXuEDG/sk3KXQZ8NHTZo2km0TbryUUmDBrAZ7xYS4jPsG1GBHoQ42UKNc8IXiO1v32xh W/6huk0/jc7cCEQWt2TjlCu00RyksiJaJ5+GPeyfZu2ghlpIdTzgk2no+ukl+GOgaJJby8dcU Gob/N9rJx7fnWA1kS8F3pdSLfQSYXjqHJBy1DzjchVWWFt+lkiRHunve0BH07v2DfH1B+sQuf RYLqURllwO0C3+/Ttg6xOqGZissGYhKU0ceD2V9Wb3qOGGcYmIpTK8ojixJoeIMmNYinxtFfg J53Hq9X0rBTG9P0kpHTO3wM1uE2xOm55l1URIlIM8zpr718pa2/bvfnq8IA7Hk5Wg0Sfe0Lfe YmEMEorN3kfoBHI1d3FRJzykjxRt4ar1OkEVKmmSR+jJwYt/zGuQPTdg30ku4kfb6wNV8eafk Uf9UNq30UpEQijq47JR2Sms/kK/u//qSzRfSRIA9ColHcR3vBcAk739SHcWB2YS4RXlQ= Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The new driver requires both mailbox and raid support for compile testing: drivers/dma/built-in.o: In function `sba_remove': edma.c:(.text+0x4414): undefined reference to `mbox_free_channel' drivers/dma/built-in.o: In function `sba_issue_pending': edma.c:(.text+0x46cc): undefined reference to `mbox_send_message' drivers/dma/built-in.o: In function `sba_probe': edma.c:(.text+0x4e60): undefined reference to `mbox_request_channel' edma.c:(.text+0x5038): undefined reference to `mbox_free_channel' drivers/dma/built-in.o: In function `sba_tx_status': edma.c:(.text+0x5210): undefined reference to `mbox_client_peek_data' drivers/dma/built-in.o: In function `sba_prep_dma_pq_req': edma.c:(.text+0x5784): undefined reference to `raid6_gflog' edma.c:(.text+0x5798): undefined reference to `raid6_gflog' This rearranges the Kconfig dependencies accordingly. Fixes: 743e1c8ffe4e ("dmaengine: Add Broadcom SBA RAID driver") Signed-off-by: Arnd Bergmann --- drivers/dma/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index b7e0ab9585bc..686ae67d7e2a 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -101,7 +101,8 @@ config AXI_DMAC config BCM_SBA_RAID tristate "Broadcom SBA RAID engine support" - depends on (ARM64 && MAILBOX && RAID6_PQ) || COMPILE_TEST + depends on ARM64 || COMPILE_TEST + depends on MAILBOX && RAID6_PQ select DMA_ENGINE select DMA_ENGINE_RAID select ASYNC_TX_DISABLE_XOR_VAL_DMA