[asahilinux:atc-WIP 186/186] ld.lld: error: undefined symbol: typec_mux_register

From: kernel test robot
Date: Sat Mar 19 2022 - 16:07:11 EST


tree: https://github.com/AsahiLinux/linux atc-WIP
head: edd8b87e1973b03d2a8ae654018e6a01cd1cc03e
commit: edd8b87e1973b03d2a8ae654018e6a01cd1cc03e [186/186] WIP: atcphy
config: arm64-randconfig-r005-20220319 (https://download.01.org/0day-ci/archive/20220320/202203200422.ztLTB1O5-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 217f267efe3082438e698e2f08566b9df8c530fa)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/AsahiLinux/linux/commit/edd8b87e1973b03d2a8ae654018e6a01cd1cc03e
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux atc-WIP
git checkout edd8b87e1973b03d2a8ae654018e6a01cd1cc03e
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 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 >>):

>> ld.lld: error: undefined symbol: typec_mux_register
>>> referenced by atc.c
>>> phy/apple/atc.o:(atcphy_probe_mux) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: typec_switch_register
>>> referenced by atc.c
>>> phy/apple/atc.o:(atcphy_probe_switch) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: typec_mux_get_drvdata
>>> referenced by atc.c
>>> phy/apple/atc.o:(atcphy_mux_set) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: typec_switch_get_drvdata
>>> referenced by atc.c
>>> phy/apple/atc.o:(atcphy_sw_set) in archive drivers/built-in.a

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for APPLE_ADMAC
Depends on DMADEVICES && (ARCH_APPLE || COMPILE_TEST
Selected by
- SND_SOC_APPLE_MCA && SOUND && !UML && SND && SND_SOC && (ARCH_APPLE || COMPILE_TEST

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