drivers/iio/adc/ingenic-adc.c:undefined reference to `clk_get_parent'

From: kernel test robot
Date: Thu Aug 20 2020 - 20:41:06 EST


Hi Jiaxun,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: da2968ff879b9e74688cdc658f646971991d2c56
commit: ff487d41036035376e47972c7c522490b839ab37 MIPS: Truncate link address into 32bit for 32bit kernel
date: 4 months ago
config: mips-randconfig-p001-20200820 (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 >>):

mips-linux-ld: drivers/gpu/drm/ingenic/ingenic-drm.o: in function `ingenic_drm_probe':
drivers/gpu/drm/ingenic/ingenic-drm.c:(.text+0xc8c): undefined reference to `clk_get_parent'
mips-linux-ld: drivers/mmc/host/mtk-sd.o: in function `msdc_set_mclk':
drivers/mmc/host/mtk-sd.c:(.text+0x1ce4): undefined reference to `clk_get_parent'
mips-linux-ld: drivers/mmc/host/mtk-sd.c:(.text+0x1d38): undefined reference to `clk_get_parent'
mips-linux-ld: drivers/iio/adc/ingenic-adc.o: in function `jz4770_adc_init_clk_div':
>> drivers/iio/adc/ingenic-adc.c:(.text+0x18): undefined reference to `clk_get_parent'
mips-linux-ld: drivers/iio/adc/ingenic-adc.o: in function `jz4725b_adc_init_clk_div':
drivers/iio/adc/ingenic-adc.c:(.text+0x138): 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