From patchwork Mon Oct 10 12:07:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9369405 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 A4330607D2 for ; Mon, 10 Oct 2016 12:08:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 95CD7297C2 for ; Mon, 10 Oct 2016 12:08:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 88B18297C8; Mon, 10 Oct 2016 12:08:51 +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.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 0CE34297C2 for ; Mon, 10 Oct 2016 12:08:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751713AbcJJMIu (ORCPT ); Mon, 10 Oct 2016 08:08:50 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:52745 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751264AbcJJMIu (ORCPT ); Mon, 10 Oct 2016 08:08:50 -0400 Received: from wuerfel.lan. ([78.43.20.153]) by mrelayeu.kundenserver.de (mreue001) with ESMTPA (Nemesis) id 0MAYTC-1bi48I3yHq-00BaXr; Mon, 10 Oct 2016 14:08:41 +0200 From: Arnd Bergmann To: Vinod Koul Cc: Arnd Bergmann , Dan Williams , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dmaengine: mmp_tdma: select GENERIC_ALLOCATOR Date: Mon, 10 Oct 2016 14:07:35 +0200 Message-Id: <20161010120839.905144-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:gTMaEQ+LQAdDZcSbv5kYr+dwuBsN0PWMLamMcM4ThTAJED4gBv1 7YEZZuMf7OVIYnXb+OE5Zhf0G+kw4109qNVGEjr8EAowPG3lxs0m/ScADRhe7VgZcMS1oKV kQlwl4J7SIblIJk/bzesWiuc1+e6lkvqBY5Ws9+eoLNgjmFUtcp71nVgLLyhSaMuVY/E2X/ wewtmR51aixZE1b5Yxs0g== X-UI-Out-Filterresults: notjunk:1; V01:K0:VoVDfaDYcXk=:2YYPd2zuY9+4F3Trr8rkyT Emh1yIE9IrjVGENf8tu2ElfnJgGD198dc0o/fHyD+NTBVpko3Pl+KN2LSn/R9JgY0K0qvy3Hb ul81hOWemFaIGOfJAoEZaE/9pZNTDC5GdF+tlSuI9sap+A/UpjKE6B4WozXcQE4U7m50RKYfD l65vHYS8zbpKXHE2BTMicLqKzjRQrYiFOv85AhXmvODhUDm4hKI8HTs9z0UPgA0PTfaI9hmhI KKviUOLFR1Ot3/se7uMRFaGexhCfiarVCZmZelZnFryYFhyZ4mW0VlT8fyoq7/XiEixexDM00 s3DGI1yQO/SkfNSGBaWeepE1SNLjln5O5lzmOHL/l8OT02Rp/5ByamtlOV8B9Im1xlUhcu0F1 KUwokbixcm6JO7V8mLnNziB1e39C9kZzsSO+uhXITRcnu5z76n0nIcyH68jC7R2+kTwOL9EV1 iJEP7O3HyBZJTTafB0VW2RKJxA79689KaYArpkVNZfJz2WuVslxUtnHbTwN/0opWG2K3er2cy +11Emaln01HqqVxMrdE1s3Ke028+cE+iF2w6h0R20eCk/p/oHdTxuw8Wd1LeCONOSHMPXzc0Z tK4veowIwhi+6Fi+L7ki0luxOEs7QAlPjOmM1vqS7B6M4x7HL0c+aitnJPid4FHmjQBl9R5aV vXTCniWsXKBtqkJPikJWLxyifLzqeMDqPluBfX81vnbtIqf0tSZkI9Iis81kox0z1csk= Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP build testing on x86 revealed a missing dependency that leads to a link error: drivers/dma/built-in.o: In function `mmp_tdma_prep_dma_cyclic': mmp_tdma.c:(.text+0x9564): undefined reference to `gen_pool_dma_alloc' drivers/dma/built-in.o: In function `mmp_tdma_free_chan_resources': mmp_tdma.c:(.text+0x9675): undefined reference to `gen_pool_free' drivers/dma/built-in.o: In function `mmp_tdma_probe': mmp_tdma.c:(.text+0x9854): undefined reference to `of_gen_pool_get' This adds a 'select' statement to the driver to get it to build cleanly. Signed-off-by: Arnd Bergmann --- drivers/dma/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index af63a6bcf564..d882eb0fa551 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -305,6 +305,7 @@ config MMP_TDMA bool "MMP Two-Channel DMA support" depends on ARCH_MMP || COMPILE_TEST select DMA_ENGINE + select GENERIC_ALLOCATOR select MMP_SRAM if ARCH_MMP help Support the MMP Two-Channel DMA engine.