[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdb_2uCoJhYK5QKXK5YDiOrfjpa1-uUp=zqY63fFJHT6WA@mail.gmail.com>
Date: Fri, 4 Dec 2020 09:55:05 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Tiezhu Yang <yangtiezhu@...ngson.cn>
Cc: "open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Xuefeng Li <lixuefeng@...ngson.cn>
Subject: Re: [PATCH] pinctrl: at91-pio4: Make PINCTRL_AT91PIO4 depend on
HAS_IOMEM to fix build error
On Tue, Nov 24, 2020 at 10:17 AM Tiezhu Yang <yangtiezhu@...ngson.cn> wrote:
> If CONFIG_HAS_IOMEM is not set, devm_platform_ioremap_resource() will
> be not built in drivers/base/platform.c and then there exists a build
> error about undefined reference to "devm_platform_ioremap_resource"
> in pinctrl-at91-pio4.c under COMPILE_TEST and CONFIG_PINCTRL_AT91PIO4,
> make PINCTRL_AT91PIO4 depend on HAS_IOMEM to fix it.
>
> Reported-by: kernel test robot <lkp@...el.com>
> Signed-off-by: Tiezhu Yang <yangtiezhu@...ngson.cn>
Patch applied as non-critical fix for v5.11.
Yours,
Linus Walleij
Powered by blists - more mailing lists