rpmsg: remote_device: use hil_vdev_notify for remote_dev notify
[processor-sdk/open-amp.git] / lib / rpmsg / remote_device.c
index e9d690c3b38305bd149e42f59e53cb1bf56c7ca7..ebb170f262190c80fc1e082eecfef24b450369c2 100644 (file)
@@ -305,7 +305,9 @@ struct rpmsg_endpoint *rpmsg_rdev_get_endpoint_from_addr(struct remote_device *r
  */
 int rpmsg_rdev_notify(struct remote_device *rdev)
 {
-       virtqueue_kick(rdev->rvq);
+       struct virtio_device *vdev = &rdev->virt_dev;
+
+       hil_vdev_notify(vdev);
 
        return RPMSG_SUCCESS;
 }