drivers/mmc/host/mtk-sd.c:undefined reference to `clk_get_parent'

From: kernel test robot
Date: Fri Jun 05 2020 - 10:29:00 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 435faf5c218a47fd6258187f62d9bb1009717896
commit: ff487d41036035376e47972c7c522490b839ab37 MIPS: Truncate link address into 32bit for 32bit kernel
date: 4 weeks ago
config: mips-randconfig-r021-20200605 (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
git checkout ff487d41036035376e47972c7c522490b839ab37
# 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 >>, old ones prefixed by <<):

mips-linux-ld: drivers/mmc/host/mtk-sd.o: in function `msdc_set_mclk':
<< mips-linux-ld: drivers/mmc/host/mtk-sd.c:845: undefined reference to `clk_get_parent'
>> drivers/mmc/host/mtk-sd.c:(.text+0x2278): undefined reference to `clk_get_parent'
<< mips-linux-ld: drivers/mmc/host/mtk-sd.c:845: undefined reference to `clk_get_parent'
>> mips-linux-ld: drivers/mmc/host/mtk-sd.c:(.text+0x22cc): 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