[steev:linux-v5.19.0 69/198] phy-qcom-qmp.c:undefined reference to `typec_switch_get_drvdata'

From: kernel test robot
Date: Tue Aug 02 2022 - 20:03:48 EST


tree: https://github.com/steev/linux linux-v5.19.0
head: a4510d0cef54eda304739679db13f1f17abe4125
commit: 52c2355f918241ce43caf2fbceb8aff380038507 [69/198] phy: qcom-qmp: Register as a typec switch for orientation detection
config: csky-randconfig-r002-20220801 (https://download.01.org/0day-ci/archive/20220803/202208030838.6SUlaoIo-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 12.1.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://github.com/steev/linux/commit/52c2355f918241ce43caf2fbceb8aff380038507
git remote add steev https://github.com/steev/linux
git fetch --no-tags steev linux-v5.19.0
git checkout 52c2355f918241ce43caf2fbceb8aff380038507
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=csky SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

csky-linux-ld: drivers/phy/qualcomm/phy-qcom-qmp.o: in function `qcom_qmp_phy_typec_switch_set':
>> phy-qcom-qmp.c:(.text+0x52a): undefined reference to `typec_switch_get_drvdata'
>> csky-linux-ld: phy-qcom-qmp.c:(.text+0x568): undefined reference to `typec_switch_get_drvdata'
csky-linux-ld: drivers/phy/qualcomm/phy-qcom-qmp.o: in function `qcom_qmp_phy_probe':
>> phy-qcom-qmp.c:(.text+0xeb4): undefined reference to `typec_switch_register'
>> csky-linux-ld: phy-qcom-qmp.c:(.text+0xf7c): undefined reference to `typec_switch_register'

--
0-DAY CI Kernel Test Service
https://01.org/lkp