Re: [PATCH v1 2/7] mtd: rawnand: add unspecified HAS_IOMEM dependency
From: Miquel Raynal
Date: Thu Jan 09 2020 - 10:23:11 EST
Hi Brendan,
Brendan Higgins <brendanhiggins@xxxxxxxxxx> wrote on Wed, 11 Dec 2019
11:27:37 -0800:
> 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@xxxxxxxxxx>
> Signed-off-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>
> ---
Sorry for the delay.
Acked-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
Thanks,
MiquÃl