Re: [PATCH v6 4/5] power: supply: power-supply-leds: Add charging_orange_full_green trigger for RGB LED

From: Andy Shevchenko
Date: Tue Apr 16 2024 - 13:34:40 EST


On Tue, Apr 16, 2024 at 8:03 PM kernel test robot <lkp@xxxxxxxxx> wrote:
>
> Hi Kate,
>
> kernel test robot noticed the following build errors:

> All errors (new ones prefixed by >>):
>
> drivers/power/supply/power_supply_leds.c: In function 'power_supply_update_bat_leds':
> >> drivers/power/supply/power_supply_leds.c:42:17: error: implicit declaration of function 'led_mc_trigger_event'; did you mean 'led_trigger_event'? [-Werror=implicit-function-declaration]
> 42 | led_mc_trigger_event(psy->charging_orange_full_green_trig,
> | ^~~~~~~~~~~~~~~~~~~~
> | led_trigger_event
> cc1: some warnings being treated as errors

Probably you need a new dependency or so.

--
With Best Regards,
Andy Shevchenko