From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752981AbbJZSeM (ORCPT ); Mon, 26 Oct 2015 14:34:12 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:33180 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752824AbbJZSeK (ORCPT ); Mon, 26 Oct 2015 14:34:10 -0400 Date: Mon, 26 Oct 2015 11:34:07 -0700 From: Brian Norris To: Antoine Tenart Cc: sebastian.hesselbarth@gmail.com, ezequiel.garcia@free-electrons.com, dwmw2@infradead.org, robert.jarzmik@free.fr, zmxu@marvell.com, jszhang@marvell.com, linux-arm-kernel@lists.infradead.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 2/5] mtd: nand: allow compile test of MTD_NAND_PXA3xx Message-ID: <20151026183407.GB13239@google.com> References: <1445416144-9194-1-git-send-email-antoine.tenart@free-electrons.com> <1445416144-9194-3-git-send-email-antoine.tenart@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1445416144-9194-3-git-send-email-antoine.tenart@free-electrons.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 21, 2015 at 10:29:01AM +0200, Antoine Tenart wrote: > Allow compile test of the MTD_NAND_PXA3xx nand driver. > > Signed-off-by: Antoine Tenart > --- > 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 289664089cf3..554aff7b2f8b 100644 > --- a/drivers/mtd/nand/Kconfig > +++ b/drivers/mtd/nand/Kconfig > @@ -329,7 +329,7 @@ config MTD_NAND_ATMEL > > config MTD_NAND_PXA3xx > tristate "NAND support on PXA3xx and Armada 370/XP" > - depends on PXA3xx || ARCH_MMP || PLAT_ORION > + depends on PXA3xx || ARCH_MMP || PLAT_ORION || COMPILE_TEST You need at least a dependency on HAS_IOMEM. I'll drop this patch for now, as it's unrelated. Feel free to send another revision. Brian > help > This enables the driver for the NAND flash device found on > PXA3xx processors (NFCv1) and also on Armada 370/XP (NFCv2). > -- > 2.6.2 >