Re: [PATCH 5.4 031/122] net: moxa: Use devm_platform_get_and_ioremap_resource()
From: Greg Kroah-Hartman
Date: Fri Jul 16 2021 - 13:57:26 EST
On Fri, Jul 16, 2021 at 09:37:10AM +0800, Yang Yingliang wrote:
> On 2021/7/16 5:26, Sudip Mukherjee wrote:
> > Hi Greg,
> > On Thu, Jul 15, 2021 at 7:44 PM Greg Kroah-Hartman
> > <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> > > From: Yang Yingliang <yangyingliang@xxxxxxxxxx>
> > >
> > > [ Upstream commit 35cba15a504bf4f585bb9d78f47b22b28a1a06b2 ]
> > arm moxart_defconfig build fails with the error:
> > drivers/net/ethernet/moxa/moxart_ether.c:483:22: error: implicit
> > declaration of function 'devm_platform_get_and_ioremap_resource'; did
> > you mean 'devm_platform_ioremap_resource'?
> > [-Werror=implicit-function-declaration]
> devm_platform_get_and_ioremap_resource() is introduced in v5.7-rc1, I can
> send a patch for stable-5.4.
If you want to, not a big deal. I've dropped this patch now, thanks.