diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-08-01 13:58:15 +0300 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2023-08-08 16:36:54 +0300 |
commit | 54e73cd52250adeba836cd3afef3658b48ae8dc9 (patch) | |
tree | ef64af52fa3cdf107055312cadafa65403c9d8d5 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ea738c06a9d249f08d0cb49ccec90f611b81d1cc (diff) | |
download | linux-54e73cd52250adeba836cd3afef3658b48ae8dc9.tar.xz |
virtio: Remove PM #ifdef guards to fix i2c driver
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@arndb.de>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20230801105846.3708252-1-arnd@kernel.org
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions