clk-lan966x.c:undefined reference to `devm_platform_ioremap_resource'

From: kernel test robot
Date: Tue Feb 15 2022 - 02:27:57 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d567f5db412ed52de0b3b3efca4a451263de6108
commit: 54104ee023333e3bd8062ff1cbc312ea4c5bf733 clk: lan966x: Add lan966x SoC clock driver
date: 10 weeks ago
config: s390-randconfig-r044-20220214 (https://download.01.org/0day-ci/archive/20220215/202202151558.8lH3awZt-lkp@xxxxxxxxx/config)
compiler: s390-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=54104ee023333e3bd8062ff1cbc312ea4c5bf733
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 54104ee023333e3bd8062ff1cbc312ea4c5bf733
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
irq-al-fic.c:(.init.text+0x72): undefined reference to `of_iomap'
s390-linux-ld: irq-al-fic.c:(.init.text+0x786): undefined reference to `iounmap'
s390-linux-ld: drivers/clk/clk-lan966x.o: in function `lan966x_clk_probe':
>> clk-lan966x.c:(.text+0x956): undefined reference to `devm_platform_ioremap_resource'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx