s390-linux-ld: drivers/net/dsa/realtek/rtl8366rb.c:980:undefined reference to `devm_led_classdev_register_ext'

From: kernel test robot
Date: Sat Jul 20 2024 - 02:52:13 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3c3ff7be9729959699eb6cbc7fd7303566d74069
commit: 32d617005475a71ebcc4ec8b2791e8d1481e9a10 net: dsa: realtek: add LED drivers for rtl8366rb
date: 3 months ago
config: s390-randconfig-s033-20221201 (https://download.01.org/0day-ci/archive/20240720/202407201701.nkpQZJZw-lkp@xxxxxxxxx/config)
compiler: s390-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240720/202407201701.nkpQZJZw-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407201701.nkpQZJZw-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

s390-linux-ld: drivers/net/dsa/realtek/rtl8366rb.o: in function `rtl8366rb_setup_led':
drivers/net/dsa/realtek/rtl8366rb.c:953:(.text+0x2e30): undefined reference to `led_init_default_state_get'
>> s390-linux-ld: drivers/net/dsa/realtek/rtl8366rb.c:980:(.text+0x30ba): undefined reference to `devm_led_classdev_register_ext'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki