Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1549593
| From | Boris Brezillon <boris.brezillon@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mtd: nand: oxnas_nand: fix build errors on arch/um, require HAS_IOMEM |
| Date | 2017-01-03 09:30 +0100 |
| Message-ID | <sVsDL-3nL-1@gated-at.bofh.it> (permalink) |
| References | <sV10S-fU-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, 1 Jan 2017 18:58:27 -0800 Randy Dunlap <rdunlap@infradead.org> wrote: > From: Randy Dunlap <rdunlap@infradead.org> > > 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 <rdunlap@infradead.org> > Reported-by: kbuild test robot <fengguang.wu@intel.com> > Cc: Boris Brezillon <boris.brezillon@free-electrons.com> > Cc: Neil Armstrong <narmstrong@baylibre.com> > Cc: Jeff Dike <jdike@addtoit.com> > Cc: Richard Weinberger <richard@nod.at> > 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. >
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] mtd: nand: oxnas_nand: fix build errors on arch/um, require HAS_IOMEM Randy Dunlap <rdunlap@infradead.org> - 2017-01-02 04:00 +0100 Re: [PATCH] mtd: nand: oxnas_nand: fix build errors on arch/um, require HAS_IOMEM Neil Armstrong <narmstrong@baylibre.com> - 2017-01-02 09:40 +0100 Re: [PATCH] mtd: nand: oxnas_nand: fix build errors on arch/um, require HAS_IOMEM Boris Brezillon <boris.brezillon@free-electrons.com> - 2017-01-03 09:30 +0100
csiph-web