aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-virtio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/busses/i2c-virtio.c')
-rw-r--r--drivers/i2c/busses/i2c-virtio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-virtio.c b/drivers/i2c/busses/i2c-virtio.c
index 41eb0dcc3204..4b9536f50800 100644
--- a/drivers/i2c/busses/i2c-virtio.c
+++ b/drivers/i2c/busses/i2c-virtio.c
@@ -165,7 +165,7 @@ err_free:
static void virtio_i2c_del_vqs(struct virtio_device *vdev)
{
- vdev->config->reset(vdev);
+ virtio_reset_device(vdev);
vdev->config->del_vqs(vdev);
}