Re: drivers/reset/reset-hsdk-v1.c:101: undefined reference to `devm_ioremap_resource'

From: Philipp Zabel
Date: Fri Sep 29 2017 - 04:11:01 EST


On Fri, 2017-09-29 at 03:16 +0800, kbuild test robot wrote:
> Hi Eugeniy,
>
> FYI, the error/warning still remains.
>
> tree:ÂÂÂhttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
> .git master
> head:ÂÂÂ9cd6681cb1169e815c41af0265165dd1b872f228
> commit: e0be864f14240cb1bd92247a672796239d6ef2fa ARC: reset: introduce
> HSDKv1 reset driver
> date:ÂÂÂ2 months ago
> config: um-allmodconfig (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
> ÂÂÂÂÂÂÂÂgit checkout e0be864f14240cb1bd92247a672796239d6ef2fa
> ÂÂÂÂÂÂÂÂ# save the attached .config to linux build tree
> ÂÂÂÂÂÂÂÂmake ARCH=umÂ

Fixed by commit 2d48a237c8b6 ("ARC: reset: Only build on archs that have
IOMEM") in:
https://git.pengutronix.de/git/pza/linux.git tags/reset-fixes-for-4.14

regards
Philipp