From patchwork Thu Nov 3 12:36:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Borislav Petkov X-Patchwork-Id: 9410779 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 A8D016022E for ; Thu, 3 Nov 2016 12:37:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 98F772AA79 for ; Thu, 3 Nov 2016 12:37:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8DE502AA7B; Thu, 3 Nov 2016 12:37:01 +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 1B36B2AA79 for ; Thu, 3 Nov 2016 12:37:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754285AbcKCMhA (ORCPT ); Thu, 3 Nov 2016 08:37:00 -0400 Received: from mail.skyhub.de ([78.46.96.112]:58170 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752503AbcKCMg7 (ORCPT ); Thu, 3 Nov 2016 08:36:59 -0400 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (door.skyhub.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id YivLZKfmxHMa; Thu, 3 Nov 2016 13:36:56 +0100 (CET) Received: from pd.tnic (p200300454B408A00890255577847D0BA.dip0.t-ipconnect.de [IPv6:2003:45:4b40:8a00:8902:5557:7847:d0ba]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 9619D1DA23B; Thu, 3 Nov 2016 13:36:56 +0100 (CET) Received: by pd.tnic (Postfix, from userid 1000) id 470C6161DB6; Thu, 3 Nov 2016 13:36:55 +0100 (CET) From: Borislav Petkov To: LKML Cc: Dan Williams , Vinod Koul , dmaengine@vger.kernel.org Subject: [PATCH] dmaengine: mmp_tdma: Select GENERIC_ALLOCATOR Date: Thu, 3 Nov 2016 13:36:55 +0100 Message-Id: <20161103123655.13559-1-bp@alien8.de> X-Mailer: git-send-email 2.10.0 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Borislav Petkov as the driver needs it. Build error caught with a randconfig build: drivers/built-in.o: In function `mmp_tdma_prep_dma_cyclic': mmp_tdma.c:(.text+0x1612d9): undefined reference to `gen_pool_dma_alloc' drivers/built-in.o: In function `mmp_tdma_free_chan_resources': mmp_tdma.c:(.text+0x161444): undefined reference to `gen_pool_free' drivers/built-in.o: In function `mmp_tdma_probe': mmp_tdma.c:(.text+0x1616ac): undefined reference to `of_gen_pool_get' make: *** [vmlinux] Error 1 Signed-off-by: Borislav Petkov Cc: Dan Williams Cc: Vinod Koul Cc: dmaengine@vger.kernel.org --- drivers/dma/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index af63a6bcf564..e88a6ef03dcf 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -304,6 +304,7 @@ config MMP_PDMA config MMP_TDMA bool "MMP Two-Channel DMA support" depends on ARCH_MMP || COMPILE_TEST + select GENERIC_ALLOCATOR select DMA_ENGINE select MMP_SRAM if ARCH_MMP help