Message ID | 4dbb6d9e-846f-e566-30a4-0082dd113bd3@infradead.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [-next] fuse: fix virtio_fs.c build warnings | expand |
--- linux-next-20190830.orig/fs/fuse/virtio_fs.c +++ linux-next-20190830/fs/fuse/virtio_fs.c @@ -492,7 +492,7 @@ static void virtio_fs_remove(struct virt vdev->priv = NULL; } -#ifdef CONFIG_PM +#ifdef CONFIG_PM_SLEEP static int virtio_fs_freeze(struct virtio_device *vdev) { return 0; /* TODO */ @@ -502,7 +502,7 @@ static int virtio_fs_restore(struct virt { return 0; /* TODO */ } -#endif /* CONFIG_PM */ +#endif /* CONFIG_PM_SLEEP */ const static struct virtio_device_id id_table[] = { { VIRTIO_ID_FS, VIRTIO_DEV_ANY_ID },