Received: by 10.223.176.5 with SMTP id f5csp4334759wra; Tue, 30 Jan 2018 05:54:06 -0800 (PST) X-Google-Smtp-Source: AH8x227VuMK1p1A0zUoN+oFtJOUi6HLzkT67ZK+I2nVSjqaMCGkTdeu3y3QKOzX8MHpZBWNWEyBF X-Received: by 2002:a17:902:7e85:: with SMTP id c5-v6mr8425656plm.110.1517320445908; Tue, 30 Jan 2018 05:54:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517320445; cv=none; d=google.com; s=arc-20160816; b=NlGN7Okx99a2efW35ae5ctMN3tcHvR+bgE2mPMCcOHhAmrDwTKDTjdfsBtrJw6dh7e FIY4v2ws0oZRtn2VkzR7jXCQyLzPNo5REbLFkyd3EDHy7wD/b0aY5TOl/gTASsgkeDDL yEJepz+ibAMIU6OtzF+m4QFoWya/ldMov9AXL0+aPA+UxT2j5byBNSoujio+/GfW4yAk UtpPmmuEl/zFmA5BByLuFWQ+PsPpnyHcAs1Nl0QEuf+HRrNT8kzMo3seR7Thse3dVFvn pqNH9voxGvW1U/pvytJZP/KWMOYtdwIfT98kFYbtuqe9v3kI7SZ4qxCkmH+h78JdOGf3 EsAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=SQ08ogZ257/dUblYhM4rlnVF09BBMcVSKOYkNFW8vSg=; b=saaUQ/lqz5I4sMOB6irQBFBvf5HmkwYWChsjfOiu++VW/mF7BZhKFGB+lRTXApnmAc Rpfz00OWZQSnejYSKNqntLZ8K3qhAJLSNTv0H08BfOzcQHmRZmPZ3pnxFZxPe8NcV53R wWC9Db2xhzAU4JO1a9DJaStwjqy5lrWg7m/olSLJOiPmFd0VgRcZqiQyo4EOlQO8RigB iS57xJPK53fdZs/c5xUUpxg4ZG0BhN2BITty3KE08CQBzrVwgEhCkkMjirnIKshfdQfZ IgGTAYdy3Jo0x374W+ir06+2rPxK/wmuasHusfpkfSathuwjrIgP0IzfXgjIVb8Nn7PO Zcrg== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n26si1361276pge.266.2018.01.30.05.53.39; Tue, 30 Jan 2018 05:54:05 -0800 (PST) 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 S1752506AbeA3NXY (ORCPT + 99 others); Tue, 30 Jan 2018 08:23:24 -0500 Received: from michel.telenet-ops.be ([195.130.137.88]:56340 "EHLO michel.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751464AbeA3NXX (ORCPT ); Tue, 30 Jan 2018 08:23:23 -0500 Received: from ayla.of.borg ([84.194.104.20]) by michel.telenet-ops.be with bizsmtp id 4dPN1x00K0SRDqC06dPN5Z; Tue, 30 Jan 2018 14:23:22 +0100 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.86_2) (envelope-from ) id 1egVsg-0002m6-9r; Tue, 30 Jan 2018 14:23:22 +0100 Received: from geert by ramsan with local (Exim 4.86_2) (envelope-from ) id 1egVsg-0003rK-8q; Tue, 30 Jan 2018 14:23:22 +0100 From: Geert Uytterhoeven To: Miquel Raynal , Boris Brezillon Cc: Richard Weinberger , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] mtd: nand: MTD_NAND_MARVELL should depend on HAS_DMA Date: Tue, 30 Jan 2018 14:23:21 +0100 Message-Id: <1517318601-14793-1-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/mtd/nand/marvell_nand.ko] undefined! Add a dependency on HAS_DMA to fix this. Fixes: 02f26ecf8c772751 ("mtd: nand: add reworked Marvell NAND controller driver") Signed-off-by: Geert Uytterhoeven --- drivers/mtd/nand/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index e6b8c59f2c0da7c0..736ac887303c88ba 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -328,7 +328,7 @@ config MTD_NAND_MARVELL tristate "NAND controller support on Marvell boards" depends on PXA3xx || ARCH_MMP || PLAT_ORION || ARCH_MVEBU || \ COMPILE_TEST - depends on HAS_IOMEM + depends on HAS_IOMEM && HAS_DMA help This enables the NAND flash controller driver for Marvell boards, including: -- 2.7.4