diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2017-01-02 05:58:27 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-01-02 11:56:57 +0300 |
commit | f0fcdc506b76e924c60fa607bba5872ca4745476 (patch) | |
tree | 3ef0b98624cf873ccd36659c54cf9f54d7a896fa /drivers/memory/fsl_ifc.c | |
parent | a2724663494f7313f53da10d8c0a729c5e3c4dea (diff) | |
download | linux-f0fcdc506b76e924c60fa607bba5872ca4745476.tar.xz |
mtd: nand: oxnas_nand: fix build errors on arch/um, require HAS_IOMEM
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'
Fixes: 668592492409 ("mtd: nand: Add OX820 NAND Support")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/memory/fsl_ifc.c')
0 files changed, 0 insertions, 0 deletions