adi-axi-adc.c:undefined reference to `devm_platform_ioremap_resource'

From: kernel test robot
Date: Thu Feb 11 2021 - 13:10:50 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb
commit: ef04070692a21633ec6a60f80c19b6af44b3cf47 iio: adc: adi-axi-adc: add support for AXI ADC IP core
date: 10 months ago
config: s390-randconfig-r035-20210209 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.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=ef04070692a21633ec6a60f80c19b6af44b3cf47
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout ef04070692a21633ec6a60f80c19b6af44b3cf47
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390

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: kernel/dma/coherent.o: in function `dma_init_coherent_memory':
coherent.c:(.text+0x440): undefined reference to `memremap'
s390-linux-ld: coherent.c:(.text+0x510): undefined reference to `memunmap'
s390-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0x93c): undefined reference to `memunmap'
s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
irq-al-fic.c:(.init.text+0x3a): undefined reference to `of_iomap'
s390-linux-ld: irq-al-fic.c:(.init.text+0x270): undefined reference to `iounmap'
s390-linux-ld: drivers/input/serio/apbps2.o: in function `apbps2_of_probe':
apbps2.c:(.text+0x30c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/iio/adc/adi-axi-adc.o: in function `adi_axi_adc_probe':
>> adi-axi-adc.c:(.text+0x782): undefined reference to `devm_platform_ioremap_resource'

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

Attachment: .config.gz
Description: application/gzip