Re: [PATCH v6 4/5] power: supply: power-supply-leds: Add charging_orange_full_green trigger for RGB LED
From: Kate Hsuan
Date: Thu Apr 18 2024 - 02:40:29 EST
Hi,
On Wed, Apr 17, 2024 at 1:34 AM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
>
> 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.
I will include Hans' two patches for led_mc_trigger_event() in v7 patch.
>
> --
> With Best Regards,
> Andy Shevchenko
>
--
BR,
Kate