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

From: kernel test robot
Date: Sun Dec 06 2020 - 05:21:43 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7059c2c00a2196865c2139083cbef47cd18109b6
commit: 4a2d5f663dab6614772d8e28ca190b127ba46d9d i2c: Enable compile testing for more drivers
date: 11 months ago
config: mips-randconfig-r025-20201206 (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+0x134): undefined reference to `clk_set_parent'
mips-linux-ld: drivers/mmc/host/mtk-sd.o: in function `msdc_set_mclk':
mtk-sd.c:(.text.msdc_set_mclk+0x324): undefined reference to `clk_get_parent'
mips-linux-ld: mtk-sd.c:(.text.msdc_set_mclk+0x378): 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