diff options
author | Brendan Higgins <brendanhiggins@google.com> | 2019-12-11 20:27:37 +0100 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-01-27 17:44:21 +0100 |
commit | baebaa2b13d92bd588ed8d06b28d787611b52a46 (patch) | |
tree | f79b20f3e87b492d47ab64cf8067839cce5fc24b /drivers/mtd/mtdconcat.c | |
parent | mtd: block2mtd: page index should use pgoff_t (diff) | |
download | linux-baebaa2b13d92bd588ed8d06b28d787611b52a46.tar.xz linux-baebaa2b13d92bd588ed8d06b28d787611b52a46.zip |
mtd: rawnand: add unspecified HAS_IOMEM dependency
Currently CONFIG_MTD_NAND_CADENCE implicitly depends on
CONFIG_HAS_IOMEM=y; consequently, on architectures without IOMEM we get
the following build error:
ld: drivers/mtd/nand/raw/cadence-nand-controller.o: in function `cadence_nand_dt_probe.cold.31':
drivers/mtd/nand/raw/cadence-nand-controller.c:2969: undefined reference to `devm_platform_ioremap_resource'
ld: drivers/mtd/nand/raw/cadence-nand-controller.c:2977: undefined reference to `devm_ioremap_resource'
Fix the build error by adding the unspecified dependency.
Reported-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/mtdconcat.c')
0 files changed, 0 insertions, 0 deletions