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: 101711 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp1167237qge; Mon, 10 Oct 2016 05:08:59 -0700 (PDT) X-Received: by 10.202.169.70 with SMTP id s67mr24536226oie.64.1476101339907; Mon, 10 Oct 2016 05:08:59 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 96si21106223otw.28.2016.10.10.05.08.59; Mon, 10 Oct 2016 05:08:59 -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 S1752196AbcJJMIv (ORCPT + 27 others); Mon, 10 Oct 2016 08:08:51 -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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.9.0 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.