From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 3 Jan 2017 09:20:04 +0100 From: Boris Brezillon Subject: Re: [PATCH] mtd: nand: oxnas_nand: fix build errors on arch/um, require HAS_IOMEM Message-ID: <20170103092004.6edd6e3e@bbrezillon> In-Reply-To: <8a756f24-4c18-690c-b898-03ecf3d71c84@infradead.org> References: <8a756f24-4c18-690c-b898-03ecf3d71c84@infradead.org> MIME-Version: 1.0 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+geert=linux-m68k.org@lists.infradead.org To: Randy Dunlap Cc: user-mode-linux-devel@lists.sourceforge.net, Neil Armstrong , Richard Weinberger , Jeff Dike , LKML , linux-mtd@lists.infradead.org, kbuild test robot List-ID: On Sun, 1 Jan 2017 18:58:27 -0800 Randy Dunlap wrote: > From: Randy Dunlap > > Fix build errors on arch/um, which does not support HAS_IOMEM, > while the oxnas_nand.c driver uses interfaces that are > supplied by HAS_IOMEM. > > (loadable module build:) > ERROR: "devm_ioremap_resource" [drivers/mtd/nand/oxnas_nand.ko] undefined! > or (built-in build:) > drivers/built-in.o: In function `oxnas_nand_probe': > drivers/mtd/nand/oxnas_nand.c:102: undefined reference to `devm_ioremap_resource' Applied to nand/fixes. It should appear in one of the next -rc (probably not -rc3 though). Thanks, Boris > > Signed-off-by: Randy Dunlap > Reported-by: kbuild test robot > Cc: Boris Brezillon > Cc: Neil Armstrong > Cc: Jeff Dike > Cc: Richard Weinberger > Cc: user-mode-linux-devel@lists.sourceforge.net > Cc: linux-mtd@lists.infradead.org > --- > drivers/mtd/nand/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > --- lnx-410-rc2.orig/drivers/mtd/nand/Kconfig > +++ lnx-410-rc2/drivers/mtd/nand/Kconfig > @@ -426,6 +426,7 @@ config MTD_NAND_ORION > > config MTD_NAND_OXNAS > tristate "NAND Flash support for Oxford Semiconductor SoC" > + depends on HAS_IOMEM > help > This enables the NAND flash controller on Oxford Semiconductor SoCs. > ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/