drivers/rpmsg: fix typo intialize -> initialize

Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
chao an 2024-12-17 15:46:35 +08:00 committed by Xiang Xiao
parent 74e6d0e8bf
commit 67c8159404
3 changed files with 3 additions and 3 deletions

View file

@ -291,7 +291,7 @@ static int rpmsg_virtio_ivshmem_probe(FAR struct ivshmem_device_s *ivdev)
ret = rpmsg_virtio_initialize(&priv->dev); ret = rpmsg_virtio_initialize(&priv->dev);
if (ret < 0) if (ret < 0)
{ {
rpmsgerr("Rpmsg virtio intialize failed, ret=%d\n", ret); rpmsgerr("Rpmsg virtio initialize failed, ret=%d\n", ret);
goto err; goto err;
} }

View file

@ -396,7 +396,7 @@ static int rptun_ivshmem_probe(FAR struct ivshmem_device_s *ivdev)
ret = rptun_initialize(&priv->rptun); ret = rptun_initialize(&priv->rptun);
if (ret < 0) if (ret < 0)
{ {
pcierr("rptun intialize failed, ret=%d\n", ret); pcierr("rptun initialize failed, ret=%d\n", ret);
goto err; goto err;
} }

View file

@ -211,7 +211,7 @@ static int virtio_rng_probe(FAR struct virtio_device *vdev)
priv->vdev = vdev; priv->vdev = vdev;
vdev->priv = priv; vdev->priv = priv;
/* Call openamp api to intialize the virtio deivce */ /* Call openamp api to initialize the virtio deivce */
virtio_set_status(vdev, VIRTIO_CONFIG_STATUS_DRIVER); virtio_set_status(vdev, VIRTIO_CONFIG_STATUS_DRIVER);
virtio_set_features(vdev, 0); virtio_set_features(vdev, 0);