tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git clkdev head: 94fc3071e40c1a3e292037e2ef80feb5af0d2187 commit: 35170aeed26ef3f947e96de245b5c933a152a218 [4/7] m68k: coldfire: use clkdev_lookup on most coldfire config: m68k-randconfig-r014-20210531 (attached as .config) compiler: m68k-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/arnd/asm-generic.git/commit/?id=35170aeed26ef3f947e96de245b5c933a152a218 git remote add asm-generic https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git git fetch --no-tags asm-generic clkdev git checkout 35170aeed26ef3f947e96de245b5c933a152a218 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): arch/m68k/coldfire/m527x.c: In function 'm527x_i2c_init': >> arch/m68k/coldfire/m527x.c:89:2: error: implicit declaration of function 'wm527x_clk_lookupritew' [-Werror=implicit-function-declaration] 89 | wm527x_clk_lookupritew(par, MCFGPIO_PAR_FECI2C); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/wm527x_clk_lookupritew +89 arch/m68k/coldfire/m527x.c 70 71 static void __init m527x_i2c_init(void) 72 { 73 #if IS_ENABLED(CONFIG_I2C_IMX) 74 #if defined(CONFIG_M5271) 75 u8 par; 76 77 /* setup Port FECI2C Pin Assignment Register for I2C */ 78 /* set PAR_SCL to SCL and PAR_SDA to SDA */ 79 par = readb(MCFGPIO_PAR_FECI2C); 80 par |= 0x0f; 81 writeb(par, MCFGPIO_PAR_FECI2C); 82 #elif defined(CONFIG_M5275) 83 u16 par; 84 85 /* setup Port FECI2C Pin Assignment Register for I2C */ 86 /* set PAR_SCL to SCL and PAR_SDA to SDA */ 87 par = readw(MCFGPIO_PAR_FECI2C); 88 par |= 0x0f; > 89 wm527x_clk_lookupritew(par, MCFGPIO_PAR_FECI2C); 90 #endif 91 #endif /* IS_ENABLED(CONFIG_I2C_IMX) */ 92 } 93 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip