Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
glneo committed Apr 3, 2024
1 parent f38e0f2 commit eee7839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rpmsg/rpmsg_virtio.c
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ int rpmsg_init_vdev_with_config(struct rpmsg_virtio_device *rvdev,
rpmsg_virtio_ns_callback, NULL);
}

if (VIRTIO_DRIVER_SUPPORT && role == RPMSG_HOST) {
if (IS_ENABLED(VIRTIO_DRIVER_SUPPORT) && role == RPMSG_HOST) {
status = virtio_set_status(rvdev->vdev, VIRTIO_CONFIG_STATUS_DRIVER_OK);
if (status)
goto err;
Expand Down

0 comments on commit eee7839

Please sign in to comment.