i2c-sprd.c:(.text.sprd_i2c_probe+0x180): undefined reference to `clk_set_parent'

From: kernel test robot
Date: Tue Dec 29 2020 - 02:16:15 EST


Hi Krzysztof,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dea8dcf2a9fa8cc540136a6cd885c3beece16ec3
commit: 4a2d5f663dab6614772d8e28ca190b127ba46d9d i2c: Enable compile testing for more drivers
date: 11 months ago
config: mips-randconfig-r013-20201223 (attached as .config)
compiler: mips-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=4a2d5f663dab6614772d8e28ca190b127ba46d9d
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 4a2d5f663dab6614772d8e28ca190b127ba46d9d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips

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

All errors (new ones prefixed by >>):

mips-linux-ld: drivers/i2c/busses/i2c-sprd.o: in function `sprd_i2c_probe':
>> i2c-sprd.c:(.text.sprd_i2c_probe+0x180): undefined reference to `clk_set_parent'
mips-linux-ld: drivers/memory/samsung/exynos5422-dmc.o: in function `exynos5_dmc_probe':
exynos5422-dmc.c:(.text.exynos5_dmc_probe+0x37c): undefined reference to `clk_set_parent'
mips-linux-ld: drivers/memory/samsung/exynos5422-dmc.o: in function `exynos5_dmc_change_freq_and_volt':
exynos5422-dmc.c:(.text.exynos5_dmc_change_freq_and_volt+0x114): undefined reference to `clk_set_parent'
mips-linux-ld: exynos5422-dmc.c:(.text.exynos5_dmc_change_freq_and_volt+0x340): undefined reference to `clk_set_parent'
mips-linux-ld: drivers/iio/adc/ingenic-adc.o: in function `jz4770_adc_init_clk_div':
ingenic-adc.c:(.text.jz4770_adc_init_clk_div+0x10): undefined reference to `clk_get_parent'
mips-linux-ld: drivers/iio/adc/ingenic-adc.o: in function `jz4725b_adc_init_clk_div':
ingenic-adc.c:(.text.jz4725b_adc_init_clk_div+0x10): undefined reference to `clk_get_parent'

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

Attachment: .config.gz
Description: application/gzip