[asahilinux:bits/090-spi-hid 16/22] dockchannel.c:undefined reference to `of_platform_device_destroy'

From: kernel test robot
Date: Tue Aug 09 2022 - 19:52:11 EST


tree: https://github.com/AsahiLinux/linux bits/090-spi-hid
head: cc847c79fbb5106249dcfd91aa041cce0116c897
commit: ffeb65333caa066616ee70e0257035fe99cf4205 [16/22] soc: apple: Add DockChannel driver
config: ia64-randconfig-r013-20220810 (https://download.01.org/0day-ci/archive/20220810/202208100711.oItJpGY7-lkp@xxxxxxxxx/config)
compiler: ia64-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/AsahiLinux/linux/commit/ffeb65333caa066616ee70e0257035fe99cf4205
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux bits/090-spi-hid
git checkout ffeb65333caa066616ee70e0257035fe99cf4205
# 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=ia64 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 >>):

ia64-linux-ld: drivers/soc/apple/dockchannel.o: in function `dockchannel_remove':
>> dockchannel.c:(.text+0x881): undefined reference to `of_platform_device_destroy'

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