mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
virtio: adapt to the new OpenAMP
Sync all the virtio api usage to sync with new OpenAMP Signed-off-by: wangyongrong <wangyongrong@xiaomi.com>
This commit is contained in:
@@ -211,7 +211,7 @@ static int virtio_rpmb_init(FAR struct virtio_rpmb_priv_s *priv,
|
||||
|
||||
vqname[0] = "virtio_rpmb_vq";
|
||||
callback[0] = virtio_rpmb_done;
|
||||
ret = virtio_create_virtqueues(vdev, 0, 1, vqname, callback);
|
||||
ret = virtio_create_virtqueues(vdev, 0, 1, vqname, callback, NULL);
|
||||
if (ret < 0)
|
||||
{
|
||||
vrterr("virtio_device_create_virtqueue failed, ret=%d\n", ret);
|
||||
|
||||
Reference in New Issue
Block a user