[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170103092004.6edd6e3e@bbrezillon>
Date: Tue, 3 Jan 2017 09:20:04 +0100
From: Boris Brezillon <boris.brezillon@...e-electrons.com>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: LKML <linux-kernel@...r.kernel.org>, linux-mtd@...ts.infradead.org,
kbuild test robot <fengguang.wu@...el.com>,
Neil Armstrong <narmstrong@...libre.com>,
Jeff Dike <jdike@...toit.com>,
Richard Weinberger <richard@....at>,
user-mode-linux-devel@...ts.sourceforge.net
Subject: Re: [PATCH] mtd: nand: oxnas_nand: fix build errors on arch/um,
require HAS_IOMEM
On Sun, 1 Jan 2017 18:58:27 -0800
Randy Dunlap <rdunlap@...radead.org> wrote:
> From: Randy Dunlap <rdunlap@...radead.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@...radead.org>
> Reported-by: kbuild test robot <fengguang.wu@...el.com>
> Cc: Boris Brezillon <boris.brezillon@...e-electrons.com>
> Cc: Neil Armstrong <narmstrong@...libre.com>
> Cc: Jeff Dike <jdike@...toit.com>
> Cc: Richard Weinberger <richard@....at>
> Cc: user-mode-linux-devel@...ts.sourceforge.net
> Cc: linux-mtd@...ts.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.
>
Powered by blists - more mailing lists