tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 61c01d2e181adfba02fe09764f9fca1de2be0dbe commit: 56e8c56c9af0df8b6de7bc4b6d9a2f4570b055db [2040/3984] leds: Add multicolor support to BlinkM LED driver config: m68k-randconfig-r064-20240811 (https://download.01.org/0day-ci/archive/20240811/202408111700.OhOvZxD1-lkp@xxxxxxxxx/config) compiler: m68k-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240811/202408111700.OhOvZxD1-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/202408111700.OhOvZxD1-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): m68k-linux-ld: drivers/leds/leds-blinkm.o: in function `blinkm_set_mc_brightness': >> drivers/leds/leds-blinkm.c:440:(.text+0x4b2): undefined reference to `led_mc_calc_color_components' m68k-linux-ld: drivers/leds/leds-blinkm.o: in function `blinkm_probe': >> include/linux/led-class-multicolor.h:70:(.text+0x740): undefined reference to `led_classdev_multicolor_register_ext' vim +440 drivers/leds/leds-blinkm.c 432 433 static int blinkm_set_mc_brightness(struct led_classdev *led_cdev, 434 enum led_brightness value) 435 { 436 struct led_classdev_mc *mcled_cdev = lcdev_to_mccdev(led_cdev); 437 struct blinkm_led *led = mcled_cdev_to_led(mcled_cdev); 438 struct blinkm_data *data = i2c_get_clientdata(led->i2c_client); 439 > 440 led_mc_calc_color_components(mcled_cdev, value); 441 442 data->next_red = (u8) mcled_cdev->subled_info[RED].brightness; 443 data->next_green = (u8) mcled_cdev->subled_info[GREEN].brightness; 444 data->next_blue = (u8) mcled_cdev->subled_info[BLUE].brightness; 445 446 blinkm_transfer_hw(led->i2c_client, BLM_GO_RGB); 447 448 return 0; 449 } 450 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki