Re: [PATCH 5.4 031/122] net: moxa: Use devm_platform_get_and_ioremap_resource()
From: Sudip Mukherjee
Date: Thu Jul 15 2021 - 17:27:28 EST
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]
Reverting this patch fixes the build.
--
Regards
Sudip