Re: [PATCH for 6.1/6.6] platform/loongarch: laptop: Fix build error due to backport

From: Greg Kroah-Hartman
Date: Mon Jun 23 2025 - 02:28:25 EST


On Sun, Jun 22, 2025 at 09:11:44PM +0800, Huacai Chen wrote:
> On Sun, Jun 22, 2025 at 9:10 PM Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > On Sun, Jun 22, 2025 at 07:01:48PM +0800, Huacai Chen wrote:
> > > In 6.1/6.6 there is no BACKLIGHT_POWER_ON definition so a build error
> > > occurs due to recently backport:
> > >
> > > CC drivers/platform/loongarch/loongson-laptop.o
> > > drivers/platform/loongarch/loongson-laptop.c: In function 'laptop_backlight_register':
> > > drivers/platform/loongarch/loongson-laptop.c:428:23: error: 'BACKLIGHT_POWER_ON' undeclared (first use in this function)
> > > 428 | props.power = BACKLIGHT_POWER_ON;
> > > | ^~~~~~~~~~~~~~~~~~
> > >
> > > Use FB_BLANK_UNBLANK instead which has the same meaning.
> > >
> > > Signed-off-by: Huacai Chen <chenhuacai@xxxxxxxxxxx>
> > > ---
> > > drivers/platform/loongarch/loongson-laptop.c | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > What commit id is this fixing?
>
> commit 53c762b47f726e4079a1f06f684bce2fc0d56fba upstream.

Great, can you resend this with a proper Fixes: tag so I don't have to
manually add it myself?

thanks,

greg k-h