samsung-keypad.c:undefined reference to `devm_ioremap'

From: kernel test robot
Date: Tue Dec 07 2021 - 23:17:32 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2a987e65025e2b79c6d453b78cb5985ac6e5eb26
commit: bbd7ffdbef6888459f301c5889f3b14ada38b913 clk: Allow the common clk framework to be selectable
date: 1 year, 7 months ago
config: s390-buildonly-randconfig-r001-20211208 (https://download.01.org/0day-ci/archive/20211208/202112081217.krALIoXt-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=bbd7ffdbef6888459f301c5889f3b14ada38b913
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout bbd7ffdbef6888459f301c5889f3b14ada38b913
# 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-imx-intmux.o: in function `imx_intmux_probe':
irq-imx-intmux.c:(.text+0x6c): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/dma/qcom/hidma.o: in function `hidma_probe':
hidma.c:(.text+0x102a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: hidma.c:(.text+0x106a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/ti/edma.o: in function `edma_probe':
edma.c:(.text+0x29d6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/ti/omap-dma.o: in function `omap_dma_probe':
omap-dma.c:(.text+0x6a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/exynos-trng.o: in function `exynos_trng_probe':
exynos-trng.c:(.text+0x148): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/meson-rng.o: in function `meson_rng_probe':
meson-rng.c:(.text+0x72): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/mtk-rng.o: in function `mtk_rng_probe':
mtk-rng.c:(.text+0x2bc): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/ks-sa-rng.o: in function `ks_sa_rng_probe':
ks-sa-rng.c:(.text+0x334): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/npcm-rng.o: in function `npcm_rng_probe':
npcm-rng.c:(.text+0x1f4): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/input/keyboard/samsung-keypad.o: in function `samsung_keypad_probe':
>> samsung-keypad.c:(.text+0x4e2): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/watchdog/sirfsoc_wdt.o: in function `sirfsoc_wdt_probe':
sirfsoc_wdt.c:(.text+0x1fc): undefined reference to `devm_platform_ioremap_resource'

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for MFD_SUN6I_PRCM
Depends on HAS_IOMEM && (ARCH_SUNXI || COMPILE_TEST
Selected by
- CLK_SUNXI_PRCM_SUN6I && COMMON_CLK && CLK_SUNXI
- CLK_SUNXI_PRCM_SUN8I && COMMON_CLK && CLK_SUNXI

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