wcd938x.c:undefined reference to `wcd938x_sdw_free'

From: kernel test robot
Date: Tue Jul 13 2021 - 07:17:09 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7fef2edf7cc753b51f7ccc74993971b0a9c81eca
commit: 04544222886881cb0865040dcdf747fe7e025947 ASoC: codecs: wcd938x: add audio routing and Kconfig
date: 4 weeks ago
config: ia64-randconfig-c004-20210713 (attached as .config)
compiler: ia64-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=04544222886881cb0865040dcdf747fe7e025947
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 04544222886881cb0865040dcdf747fe7e025947
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

ia64-linux-ld: sound/soc/codecs/wcd938x.o: in function `wcd938x_codec_free':
>> wcd938x.c:(.text+0x892): undefined reference to `wcd938x_sdw_free'
ia64-linux-ld: sound/soc/codecs/wcd938x.o: in function `wcd938x_codec_hw_params':
>> wcd938x.c:(.text+0x922): undefined reference to `wcd938x_sdw_hw_params'
ia64-linux-ld: sound/soc/codecs/wcd938x.o: in function `wcd938x_codec_set_sdw_stream':
>> wcd938x.c:(.text+0x9b2): undefined reference to `wcd938x_sdw_set_sdw_stream'
ia64-linux-ld: sound/soc/codecs/wcd938x.o: in function `wcd938x_tx_swr_ctrl':
>> wcd938x.c:(.text+0x2b62): undefined reference to `wcd938x_swr_get_current_bank'
ia64-linux-ld: sound/soc/codecs/wcd938x.o: in function `wcd938x_bind':
>> wcd938x.c:(.text+0x5112): undefined reference to `wcd938x_sdw_device_get'
>> ia64-linux-ld: wcd938x.c:(.text+0x5192): undefined reference to `wcd938x_sdw_device_get'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip