forked from apache/nuttx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtio/vhost: assign the virtio/vhost_drvier to device->priv before p…
…robe So the driver can get the driver pointer by vdev/hdev->priv, and later vdev/hdev->priv can be used to store other data such as the virtio/vhost drivers' private data. Signed-off-by: Bowen Wang <[email protected]>
- Loading branch information
1 parent
c42576e
commit 51d6e8f
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters