[PATCH] mtd: nand: ecc: mxic: Fix compile test issue

Miquel Raynal miquel.raynal at bootlin.com
Tue Mar 15 02:53:25 PDT 2022


On Mon, 2022-03-14 at 15:23:36 UTC, Miquel Raynal wrote:
> Avoid random build errors with architectures which do not select
> HAS_IOMEM by depending on it in Kconfig.
> 
> This fixes the following warning:
> 
> /home/mraynal/0day/gcc-11.2.0-nolibc/s390-linux/bin/s390-linux-ld:
> drivers/mtd/nand/ecc-mxic.o: in function `mxic_ecc_probe':
> ecc-mxic.c:(.text+0x2244): undefined reference to `devm_platform_ioremap_resource'
> 
> Reported-by: kernel test robot <lkp at intel.com>
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next.

Miquel



More information about the linux-mtd mailing list