]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
tools/virtio: add device, device_driver stubs
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Dec 2025 18:37:07 +0000 (13:37 -0500)
committerMichael 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

index 4ad7e1df0db5a86e947b3c758284e84611f1e5d2..075c2140d975a91294cb0a3809175b893c04a138 100644 (file)
@@ -1,2 +1,10 @@
 #ifndef LINUX_DEVICE_H
+
+struct device {
+       void *parent;
+};
+
+struct device_driver {
+       const char *name;
+};
 #endif