drivers/gpu/drm/ingenic/ingenic-drm-drv.c:(.text.ingenic_drm_bind+0x790): undefined reference to `clk_get_parent'

From: kernel test robot
Date: Thu Sep 24 2020 - 00:48:32 EST


Hi Paul,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c9c9e6a49f8998e9334507378c08cc16cb3ec0e5
commit: fc1acf317b01083d47228c0d21cfc0764f37a04e drm/ingenic: Add support for the IPU
date: 10 weeks ago
config: mips-randconfig-c004-20200922 (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 fc1acf317b01083d47228c0d21cfc0764f37a04e
# 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-drv.o: in function `ingenic_drm_bind':
>> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:(.text.ingenic_drm_bind+0x790): undefined reference to `clk_get_parent'
mips-linux-ld: drivers/mmc/host/mtk-sd.o: in function `msdc_ops_set_ios':
arch/mips/include/asm/barrier.h:(.text.msdc_ops_set_ios+0x79c): undefined reference to `clk_get_parent'
mips-linux-ld: arch/mips/include/asm/barrier.h:(.text.msdc_ops_set_ios+0x7cc): undefined reference to `clk_get_parent'
mips-linux-ld: drivers/iio/adc/ingenic-adc.o: in function `jz4770_adc_init_clk_div':
arch/mips/include/asm/barrier.h:(.text.jz4770_adc_init_clk_div+0x2c): undefined reference to `clk_get_parent'
mips-linux-ld: drivers/iio/adc/ingenic-adc.o: in function `jz4725b_adc_init_clk_div':
arch/mips/include/asm/barrier.h:(.text.jz4725b_adc_init_clk_div+0x2c): 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