Re: [PATCH] virtio: Remove PM #ifdef guards to fix i2c driver

From: Andi Shyti
Date: Tue Aug 01 2023 - 19:42:53 EST


Hi,

On Wed, Aug 02, 2023 at 01:06:47AM +0200, Paul Cercueil wrote:
> Hi,
>
> Le mardi 01 août 2023 à 12:58 +0200, Arnd Bergmann a écrit :
> > From: Arnd Bergmann <arnd@xxxxxxxx>
> >
> > A cleanup in the virtio i2c caused a build failure:
> >
> > drivers/i2c/busses/i2c-virtio.c:270:10: error: 'struct virtio_driver'
> > has no member named 'freeze'
> > drivers/i2c/busses/i2c-virtio.c:271:10: error: 'struct virtio_driver'
> > has no member named 'restore'
> >
> > Change the structure definition to allow this cleanup to
> > be applied everywhere.
> >
> > Fixes: 73d546c76235b ("i2c: virtio: Remove #ifdef guards for PM
> > related functions")
> > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
>
> Thanks, I didn't realize it was merged already.
>
> Reviewed-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>

Actually this fix is taken from linux-next, it's not in
Wolfram's branch, it's in mine. I can still force-push a fixed
version in Paul's original patch in order to avoid breaking the
bisectability.

Andi