projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39cfe19
)
tools/virtio: add device, device_driver stubs
author
Michael S. Tsirkin
<mst@redhat.com>
Thu, 4 Dec 2025 18:37:07 +0000
(13:37 -0500)
committer
Michael S. Tsirkin
<mst@redhat.com>
Wed, 24 Dec 2025 13:02:56 +0000
(08:02 -0500)
Add stubs needed by virtio.h
Message-ID: <
0fabf13f6ea812ebc73b1c919fb17d4dec1545db
.
1764873799
.git.mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/linux/device.h
patch
|
blob
|
history
diff --git
a/tools/virtio/linux/device.h
b/tools/virtio/linux/device.h
index
4ad7e1d
..
075c214
100644
(file)
--- a/
tools/virtio/linux/device.h
+++ b/
tools/virtio/linux/device.h
@@
-1,2
+1,10
@@
#ifndef LINUX_DEVICE_H
+
+struct device {
+ void *parent;
+};
+
+struct device_driver {
+ const char *name;
+};
#endif