Re: [PATCH v1] driver: gpio-bt8xx: use generic PCI PM
From: Bartosz Golaszewski
Date: Mon Oct 13 2025 - 05:41:57 EST
On Sat, Oct 11, 2025 at 1:32 PM Vaibhav Gupta <vaibhavgupta40@xxxxxxxxx> wrote:
>
> On Sat, Oct 11, 2025 at 12:26:12PM +0200, Michael Büsch wrote:
> > On Sat, 11 Oct 2025 09:43:54 +0800
> > kernel test robot <lkp@xxxxxxxxx> wrote:
> >
> > > Hi Vaibhav,
> > >
> > > kernel test robot noticed the following build errors:
> >
> > > drivers/gpio/gpio-bt8xx.c: In function 'bt8xxgpio_suspend':
> > > >> drivers/gpio/gpio-bt8xx.c:233:19: error: 'struct bt8xxgpio' has no member named 'saved_outen'
> > > 233 | bg->saved_outen = bgread(BT848_GPIO_OUT_EN);
> > > | ^~
> >
> >
> > It looks like the
> > #ifdef CONFIG_PM
> > must be removed from struct bt8xxgpio definition.
> >
> > --
> > Michael Büsch
> > https://bues.ch/
>
> Hello Michael,
>
> Ah yes, this macro somehow got overlooked by me. I will send a v2.
> Thanks for the review!
>
> Regards,
> Vaibhav
While at it: the subject should be: "gpio: bt8xx: ..."
Bart