other.c:undefined reference to `devm_led_classdev_register_ext'

From: kernel test robot
Date: Sat May 18 2024 - 10:10:27 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4b377b4868ef17b040065bd468668c707d2477a5
commit: 9426adb0326a87ed2fa9d010c4c18189047e0c11 platform/x86: x86-android-tablets: Create LED device for Xiaomi Pad 2 bottom bezel touch buttons
date: 4 days ago
config: i386-buildonly-randconfig-004-20240118 (https://download.01.org/0day-ci/archive/20240518/202405182256.FsKBjIzG-lkp@xxxxxxxxx/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240518/202405182256.FsKBjIzG-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/202405182256.FsKBjIzG-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

ld: drivers/platform/x86/x86-android-tablets/other.o: in function `xiaomi_mipad2_init':
>> other.c:(.init.text+0x97): undefined reference to `devm_led_classdev_register_ext'

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